예제 #1
0
 def changelog(self):
     changelog_path = os.path.join(settings.PLUGIN_PATH, 'changelog.txt')
     if os.path.isfile(changelog_path):
         f = open(changelog_path, "r")
         changelog_text = f.read()
         f.close()
         info.showChangelog(self.session, _('ArchivCZSK Changelog'), changelog_text)    
예제 #2
0
 def changelog(self):
     changelog_path = os.path.join(settings.PLUGIN_PATH, 'changelog.txt')
     if os.path.isfile(changelog_path):
         f = open(changelog_path, "r")
         changelog_text = f.read()
         f.close()
         info.showChangelog(self.session, _('ArchivCZSK Changelog'),
                            changelog_text)
예제 #3
0
 def changelog(self):
     clog = u''
     changelog_path = os.path.join(settings.PLUGIN_PATH, 'changelog.txt')
     if os.path.isfile(changelog_path):
         with open(changelog_path, 'r') as f:
             text = f.read()
         try:
             clog = text
         except Exception:
             log.logError('ArchivCZSK changelog cannot be decoded')
             pass
     info.showChangelog(self.session, "ArchivCZSK", clog)
예제 #4
0
파일: menu.py 프로젝트: mx3L/archivczsk
 def changelog(self):
     clog = u''
     changelog_path = os.path.join(settings.PLUGIN_PATH, 'changelog.txt')
     if os.path.isfile(changelog_path):
         with open(changelog_path, 'r') as f:
             text = f.read()
         try:
             clog = text
         except Exception:
             log.logError('ArchivCZSK changelog cannot be decoded')
             pass
     info.showChangelog(self.session, "ArchivCZSK", clog)
예제 #5
0
 def changelog(self):
     info.showChangelog(self.session, self.addon.name, self.addon.changelog)
예제 #6
0
파일: menu.py 프로젝트: Luky68/archivczsk
 def changelog(self):
     info.showChangelog(self.session, self.addon.name, self.addon.changelog)
예제 #7
0
 def openChangelog(self):
     if not self.working:
         import info
         info.showChangelog(self.session, self.addon.name,
                            self.addon.changelog)