Merge pull request #27 from lnyemba/v2.2.0

bug fix: registry and emails
master
Steve L. Nyemba 1 month ago committed by GitHub
commit 96e200cf23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -12,8 +12,11 @@ from io import StringIO
This class manages data from the registry and allows (read only) This class manages data from the registry and allows (read only)
@TODO: add property to the DATA attribute @TODO: add property to the DATA attribute
""" """
if 'HOME' in os.environ :
REGISTRY_PATH=os.sep.join([os.environ['HOME'],'.data-transport'])
else:
REGISTRY_PATH=os.sep.join([os.environ['USERPROFILE'],'.data-transport'])
REGISTRY_PATH=os.sep.join([os.environ.get('HOME','USERPROFILE'),'.data-transport'])
# #
# This path can be overriden by an environment variable ... # This path can be overriden by an environment variable ...
# #

Loading…
Cancel
Save