Browse Source
Allow to override output_dir with env var
pull/1/head
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
1 additions and
1 deletions
-
video-feed.py
|
@ -83,7 +83,7 @@ def create_post(post_directory, video_metadata): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
output_dir = '/home/r/Programming/lumbung.space/lumbung.space-web/content/video' |
|
|
output_dir = os.environ.get('OUTPUT_DIR', '/home/r/Programming/lumbung.space/lumbung.space-web/content/video') |
|
|
|
|
|
|
|
|
if not os.path.exists(output_dir): |
|
|
if not os.path.exists(output_dir): |
|
|
os.mkdir(output_dir) |
|
|
os.mkdir(output_dir) |
|
|