FIX:(#169) 500 Error on startup trying to retrieve Weekly Pull-list

This commit is contained in:
evilhero 2013-01-23 02:50:49 -05:00
parent 6ef8ab7b8d
commit f30d507ab9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def pullit():
pull_date = myDB.action("SELECT SHIPDATE from weekly").fetchone()
logger.info(u"Weekly pull list present - checking if it's up-to-date..")
pulldate = pull_date['SHIPDATE']
except sqlite3.OperationalError, msg:
except (sqlite3.OperationalError, TypeError),msg:
conn=sqlite3.connect(mylar.DB_FILE)
c=conn.cursor()
logger.info(u"Error Retrieving weekly pull list - attempting to adjust")