1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -05:00

Fix for strftime and thread locking issues

This commit is contained in:
echel0n 2014-04-27 17:25:57 -07:00
parent 896295b090
commit 826a9aab6a

View File

@ -42,6 +42,7 @@ if sys.hexversion >= 0x020600F0:
from multiprocessing import freeze_support # @UnresolvedImport from multiprocessing import freeze_support # @UnresolvedImport
import locale import locale
import datetime
import threading import threading
import time import time
import signal import signal
@ -64,6 +65,7 @@ from lib.configobj import ConfigObj
signal.signal(signal.SIGINT, sickbeard.sig_handler) signal.signal(signal.SIGINT, sickbeard.sig_handler)
signal.signal(signal.SIGTERM, sickbeard.sig_handler) signal.signal(signal.SIGTERM, sickbeard.sig_handler)
throwaway = datetime.datetime.strptime('20110101','%Y%m%d')
def loadShowsFromDB(): def loadShowsFromDB():
""" """