mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 01:43:37 +00:00
Fix for strftime and thread locking issues
This commit is contained in:
parent
896295b090
commit
826a9aab6a
1 changed files with 2 additions and 0 deletions
|
@ -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():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue