diff --git a/plexpy/__init__.py b/plexpy/__init__.py index 7fbe54ec..4551fdfd 100644 --- a/plexpy/__init__.py +++ b/plexpy/__init__.py @@ -242,12 +242,6 @@ def initialize(config_file): sys.version.replace('\n', '') )) - if DOCKER and not DOCKER_MOUNT: - logger.warn( - "Docker /config volume not mounted. " - "All data may be cleared when the container is recreated or updated." - ) - logger.info("Program Dir: {}".format( PROG_DIR )) @@ -258,6 +252,12 @@ def initialize(config_file): DB_FILE )) + if DOCKER and not DOCKER_MOUNT: + logger.warn( + "Docker /config volume not mounted. Using a Docker volume instead. " + "All data may be cleared when the container is recreated or updated." + ) + CONFIG.BACKUP_DIR, _ = check_folder_writable( CONFIG.BACKUP_DIR, os.path.join(DATA_DIR, 'backups'), 'backups') CONFIG.CACHE_DIR, _ = check_folder_writable(