Skip to content

Commit

Permalink
Update importexport.py
Browse files Browse the repository at this point in the history
self.pct is not defined
  • Loading branch information
senendds authored Dec 13, 2019
1 parent a21f9eb commit f3fc3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/importexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def writeTree(self, iterate):
else:
if xbmcvfs.exists(os.path.splitext(self.item[2])[0]+'.sfnfo') == 0:
self.pct = float(self.cst)/float(len(iterate))*100
bgdu(int(self.pct), lang(30000), "{0} {1}{2}{3}".format(lang(30064), self.cst, lang(30052), len(iterate)))
bgdu(int(self.pct), lang(30000), "{0} {1}{2}{3}".format(lang(30064), self.cst, lang(30052), len(iterate)))
try:
if mysql == 'true':
self.buildTree(self.item['title'], self.item['sorttitle'], self.item['plot'], os.path.splitext(self.item['bpath'])[0]+'.sfnfo')
Expand Down

0 comments on commit f3fc3f1

Please sign in to comment.