From 080541fc9acaa9b28536fc526ca9931935ab8edf Mon Sep 17 00:00:00 2001 From: Cedric Leporcq Date: Fri, 13 Aug 2021 19:19:19 +0200 Subject: [PATCH] Drop APPLICATION_DIRECTORY env variable support --- dozo/constants.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dozo/constants.py b/dozo/constants.py index f95acaf..3bbd053 100644 --- a/dozo/constants.py +++ b/dozo/constants.py @@ -10,12 +10,6 @@ debug = False #: Directory in which to store Dozo settings. application_directory = '{}/.dozo'.format(path.expanduser('~')) -if ( - 'ELODIE_APPLICATION_DIRECTORY' in environ and - path.isdir(environ['ELODIE_APPLICATION_DIRECTORY']) - ): - application_directory = environ['ELODIE_APPLICATION_DIRECTORY'] - default_path = '{%Y-%m-%b}/{album}|{city}|{"Unknown Location"}' default_name = '{%Y-%m-%d_%H-%M-%S}-{name}-{title}.%l{ext}' default_geocoder = 'Nominatim' @@ -32,9 +26,6 @@ location_db = 'location.json' # Dozo installation directory. script_directory = path.dirname(path.dirname(path.abspath(__file__))) -#: Path to ExifTool config file. -exiftool_config = path.join(script_directory, 'configs', 'ExifTool_config') - #: Accepted language in responses from MapQuest accepted_language = 'en'