mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 02:23:38 +00:00
Fix issue where setting the status for an episode that doesn't need a db update fails.
This commit is contained in:
parent
5eeb369ae5
commit
7e29161ab5
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
### 0.6.4 (2015-02-10 20:20:00 UTC)
|
||||||
|
* Fix issue where setting the status for an episode that doesn't need a db update fails
|
||||||
|
|
||||||
|
|
||||||
### 0.6.3 (2015-02-10 05:30:00 UTC)
|
### 0.6.3 (2015-02-10 05:30:00 UTC)
|
||||||
* Change KickAssTorrents URL
|
* Change KickAssTorrents URL
|
||||||
|
|
||||||
|
|
|
@ -4216,7 +4216,9 @@ class Home(MainHandler):
|
||||||
epObj.status = int(status)
|
epObj.status = int(status)
|
||||||
|
|
||||||
# mass add to database
|
# mass add to database
|
||||||
sql_l.append(epObj.get_sql())
|
result = epObj.get_sql()
|
||||||
|
if None is not result:
|
||||||
|
sql_l.append(result)
|
||||||
|
|
||||||
if len(sql_l) > 0:
|
if len(sql_l) > 0:
|
||||||
myDB = db.DBConnection()
|
myDB = db.DBConnection()
|
||||||
|
|
Loading…
Reference in a new issue