mirror of
https://github.com/evilhero/mylar
synced 2024-12-24 08:42:37 +00:00
FIX:(#169) 500 Error on startup trying to retrieve Weekly Pull-list
This commit is contained in:
parent
6ef8ab7b8d
commit
f30d507ab9
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def pullit():
|
||||||
pull_date = myDB.action("SELECT SHIPDATE from weekly").fetchone()
|
pull_date = myDB.action("SELECT SHIPDATE from weekly").fetchone()
|
||||||
logger.info(u"Weekly pull list present - checking if it's up-to-date..")
|
logger.info(u"Weekly pull list present - checking if it's up-to-date..")
|
||||||
pulldate = pull_date['SHIPDATE']
|
pulldate = pull_date['SHIPDATE']
|
||||||
except sqlite3.OperationalError, msg:
|
except (sqlite3.OperationalError, TypeError),msg:
|
||||||
conn=sqlite3.connect(mylar.DB_FILE)
|
conn=sqlite3.connect(mylar.DB_FILE)
|
||||||
c=conn.cursor()
|
c=conn.cursor()
|
||||||
logger.info(u"Error Retrieving weekly pull list - attempting to adjust")
|
logger.info(u"Error Retrieving weekly pull list - attempting to adjust")
|
||||||
|
|
Loading…
Reference in a new issue