This commit is contained in:
rra 2021-07-15 17:12:13 +02:00
commit bc5ee2daff

View File

@ -103,7 +103,7 @@ def update_post(post_directory, video_metadata):
create_post(post_dir, 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):
os.mkdir(output_dir)