Created
June 16, 2019 08:21
-
-
Save akey7/64a2352a55dd22d36f870387c5487003 to your computer and use it in GitHub Desktop.
Environment variable: get it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target_dir = os.environ['IMAGE_TARGET_DIR'] if 'IMAGE_TARGET_DIR' in os.environ else '/home/me' | |
source_dir = os.environ['IMAGE_SOURCE_DIR'] if 'IMAGE_SOURCE_DIR' in os.environ else '/home/me' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment