Drop APPLICATION_DIRECTORY env variable support

This commit is contained in:
Cédric Leporcq 2021-08-13 19:19:19 +02:00
parent 972b5a60f1
commit 080541fc9a
1 changed files with 0 additions and 9 deletions

View File

@ -10,12 +10,6 @@ debug = False
#: Directory in which to store Dozo settings. #: Directory in which to store Dozo settings.
application_directory = '{}/.dozo'.format(path.expanduser('~')) 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_path = '{%Y-%m-%b}/{album}|{city}|{"Unknown Location"}'
default_name = '{%Y-%m-%d_%H-%M-%S}-{name}-{title}.%l{ext}' default_name = '{%Y-%m-%d_%H-%M-%S}-{name}-{title}.%l{ext}'
default_geocoder = 'Nominatim' default_geocoder = 'Nominatim'
@ -32,9 +26,6 @@ location_db = 'location.json'
# Dozo installation directory. # Dozo installation directory.
script_directory = path.dirname(path.dirname(path.abspath(__file__))) 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 in responses from MapQuest
accepted_language = 'en' accepted_language = 'en'