Private GIT

Skip to content
Snippets Groups Projects
Commit 5774b4ac authored by miigotu's avatar miigotu
Browse files

Merge pull request #414 from SickRage/bugfix-173

Define last_update if it isnt in db already too
parents 44e84a3f bd843e19
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,8 @@ class ShowUpdater:
if result:
last_update = int(result[0]['time'])
else:
my_db.action("INSERT INTO lastUpdate (provider,`time`) VALUES (?, ?)", ['theTVDB', update_timestamp - 86400])
last_update = update_timestamp - 86400
my_db.action("INSERT INTO lastUpdate (provider,`time`) VALUES (?, ?)", ['theTVDB', last_update])
# refresh network timezones
network_timezones.update_network_dict()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment