Merge branch 'master' into develop

This commit is contained in:
JackDandy 2018-07-05 18:16:33 +01:00
commit 7d82b36930
2 changed files with 9 additions and 1 deletions

View file

@ -29,6 +29,11 @@
### 0.16.19 (2018-07-05 18:10:00 UTC)
* Fix Uuid1 Python Bug, add fallback to uuid4 when uuid1 fails with ValueError https://bugs.python.org/issue32502
### 0.16.18 (2018-07-05 14:45:00 UTC)
* Fix Scenetime torrent provider

View file

@ -26,7 +26,10 @@ import uuid
import logger
import sickbeard
INSTANCE_ID = str(uuid.uuid1())
try:
INSTANCE_ID = str(uuid.uuid1())
except ValueError:
INSTANCE_ID = str(uuid.uuid4())
USER_AGENT = ('SickGear/(%s; %s; %s)' % (platform.system(), platform.release(), INSTANCE_ID))