Adding support for environment strings EXIV2_HTTP and EXIV2_PORT

This commit is contained in:
clanmills 2020-10-23 16:05:51 +01:00
parent 5d7b44dfaf
commit 43698f414b

View File

@ -33,6 +33,10 @@ class Config:
exiv2_echo = ''
verbose = ''
valgrind = ''
if 'EXIV2_PORT' in os.environ:
exiv2_port = os.environ['EXIV2_PORT']
if 'EXIV2_HTTP' in os.environ:
exiv2_http = os.environ['EXIV2_HTTP']
@classmethod
def init(cls):