Skip to content

Commit

Permalink
Merge pull request #239 from ShaneIsrael/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ShaneIsrael authored Dec 28, 2023
2 parents 7512018 + 6a8fa6d commit 2baaa03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/fireshare/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def create_app(init_schedule=False):
raise Exception("DATA_DIRECTORY not found in environment")

app.config['ENVIRONMENT'] = os.getenv('ENVIRONMENT')
app.config['THUMBNAIL_VIDEO_LOCATION'] = int(os.getenv('THUMBNAIL_VIDEO_LOCATION'))
app.config['THUMBNAIL_VIDEO_LOCATION'] = int(os.getenv('THUMBNAIL_VIDEO_LOCATION') or 0)
app.config['SECRET_KEY'] = os.getenv('SECRET_KEY', secrets.token_hex(32))
app.config['DATA_DIRECTORY'] = os.getenv('DATA_DIRECTORY')
app.config['VIDEO_DIRECTORY'] = os.getenv('VIDEO_DIRECTORY')
Expand Down

0 comments on commit 2baaa03

Please sign in to comment.