Disable updates when using Docker container

This commit is contained in:
TheMeanCanEHdian 2020-02-07 08:30:47 -08:00 committed by JonnyWong16
parent f572943a7b
commit 8690d2ced5
8 changed files with 104 additions and 76 deletions

View file

@ -934,3 +934,9 @@ class Config(object):
self.GEOIP_DB = os.path.join(plexpy.DATA_DIR, 'GeoLite2-City.mmdb')
self.CONFIG_VERSION = 14
if self.CONFIG_VERSION == 14:
if plexpy.DOCKER:
self.PLEXPY_AUTO_UPDATE = 0
self.CONFIG_VERSION == 15