From ac3016c84d11652adcdf8691da894a66a1220406 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Tue, 25 Jul 2017 18:16:49 +0200 Subject: [PATCH] Fix bug importing datetime.datetime --- resources/lib/connect/credentials.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/connect/credentials.py b/resources/lib/connect/credentials.py index 4f336afe..b574947e 100644 --- a/resources/lib/connect/credentials.py +++ b/resources/lib/connect/credentials.py @@ -6,9 +6,10 @@ import os import time from datetime import datetime ############################################################################### - log = getLogger("PLEX."+__name__) +# This is a throwaway variable to deal with a python bug +_ = datetime.strptime('20110101', '%Y%m%d') ###############################################################################