From 826a9aab6a942cf20b92a6d0a00e8ed18b9b5021 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sun, 27 Apr 2014 17:25:57 -0700 Subject: [PATCH] Fix for strftime and thread locking issues --- SickBeard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SickBeard.py b/SickBeard.py index cc964eb9..08fe709f 100644 --- a/SickBeard.py +++ b/SickBeard.py @@ -42,6 +42,7 @@ if sys.hexversion >= 0x020600F0: from multiprocessing import freeze_support # @UnresolvedImport import locale +import datetime import threading import time import signal @@ -64,6 +65,7 @@ from lib.configobj import ConfigObj signal.signal(signal.SIGINT, sickbeard.sig_handler) signal.signal(signal.SIGTERM, sickbeard.sig_handler) +throwaway = datetime.datetime.strptime('20110101','%Y%m%d') def loadShowsFromDB(): """