Skip to content

Commit

Permalink
031218
Browse files Browse the repository at this point in the history
spelling error
  • Loading branch information
smitchell6879 committed Mar 13, 2018
1 parent 219bb9f commit db7fb4e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions lib/iteration.py
Expand Up @@ -332,21 +332,26 @@ def detchDb(self):
self.trAsh.append(self.item['file'])
if self.doublechk == None:
self.trAsh.append(self.item['file'])
if not self.item['file'] in self.chkList:
self.trAsh.append(self.item['file'])
else:
self.verify = self.verIfy(self.item[0])
self.doublechk = self.sql.exeCute('fw_special',self.item[0],'one')
if self.verify == 0:
self.trAsh.append(self.item[0])
if self.doublechk == None:
self.trAsh.append(self.item[0])
if len(trAsh)>0:
if not self.item[0] in self.chkList:
self.trAsh.append(self.item[0])
if len(self.trAsh)>0:
for self.item in self.trAsh:
self.pct = float(self.cst)/float(len(trAsh))*100
bgdu(int(self.pct),lang(30000),"{0} {1}{2}{3}".format(lang(30053),self.cst,lang(30052),len(trAsh)))
self.pct = float(self.cst)/float(len(self.trAsh))*100
bgdu(int(self.pct),lang(30000),"{0} {1}{2}{3}".format(lang(30053),self.cst,lang(30052),len(self.trAsh)))
self.sql.exeCute('d_movies',self.item,'com2')
self.sql.exeCute('d_art',self.item,'com2')
self.sql.exeCute('d_cast',self.item,'com2')
self.cst+=1
bgdcc()
self.cst=1
self.trAsh = list()
self.entry = self.sql.exeCute('all_tvshows','','all')
Expand All @@ -358,17 +363,21 @@ def detchDb(self):
self.trAsh.append(self.item['file'])
if self.doublechk == None:
self.trAsh.append(self.item['file'])
if not self.item['file'] in self.chkList:
self.trAsh.append(self.item['file'])
else:
self.verify = self.verIfy(self.item[0])
self.doublechk = self.sql.exeCute('fw_special',self.item[0],'one')
if self.verify == 0:
self.trAsh.append(self.item[0])
if self.doublechk == None:
self.trAsh.append(self.item[0])
if not self.item[0] in self.chkList:
self.trAsh.append(self.item[0])
if len(self.trAsh)>0:
for self.item in self.trAsh:
self.pct = float(self.cst)/float(len(self.trAsh))*100
bgdu(int(self.pct),lang(30000),"{0} {1}{2}{3}".format(lang(30053),self.cst,lang(30052),len(trAsh)))
bgdu(int(self.pct),lang(30000),"{0} {1}{2}{3}".format(lang(30053),self.cst,lang(30052),len(self.trAsh)))
self.sql.exeCute('d_tvshows',self.item,'com2')
self.sql.exeCute('d_art',self.item,'com2')
self.sql.exeCute('d_cast',self.item,'com2')
Expand Down
2 changes: 1 addition & 1 deletion lib/querylib.py
Expand Up @@ -123,7 +123,7 @@ def sqlite(self):
'd_tvshows' : 'DELETE FROM tvshows WHERE file=?',
'd_movies' : 'DELETE FROM movies WHERE file=?',
'd_special' : 'DELETE FROM special WHERE file=?',
'd_special2' : 'DELETE FROM special WHERE bpath=?',
'd_special2' : 'DELETE FROM special WHERE bpath=?',
'd_art' : 'DELETE FROM art WHERE file=?',
'd_cast' : 'DELETE FROM cast WHERE file=?',
}
Expand Down

0 comments on commit db7fb4e

Please sign in to comment.