mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-02 17:33:37 +00:00
Fix to add anime to global proper searches
This commit is contained in:
parent
4136eed132
commit
77bfd93729
1 changed files with 2 additions and 1 deletions
|
@ -257,7 +257,8 @@ class TVCache:
|
|||
|
||||
def listPropers(self, date=None, delimiter='.'):
|
||||
myDB = self.get_db()
|
||||
sql = "SELECT * FROM provider_cache WHERE name LIKE '%.PROPER.%' OR name LIKE '%.REPACK.%' AND provider = ?"
|
||||
sql = "SELECT * FROM provider_cache WHERE (name LIKE '%.PROPER.%' OR name LIKE '%.REPACK.%' OR version > 1) " \
|
||||
'AND provider = ?'
|
||||
|
||||
if date != None:
|
||||
sql += ' AND time >= ' + str(int(time.mktime(date.timetuple())))
|
||||
|
|
Loading…
Reference in a new issue