Skip to content

Commit 2baaa03

Browse files
authored
Merge pull request #239 from ShaneIsrael/develop
Develop
2 parents 7512018 + 6a8fa6d commit 2baaa03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/server/fireshare/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def create_app(init_schedule=False):
6262
raise Exception("DATA_DIRECTORY not found in environment")
6363

6464
app.config['ENVIRONMENT'] = os.getenv('ENVIRONMENT')
65-
app.config['THUMBNAIL_VIDEO_LOCATION'] = int(os.getenv('THUMBNAIL_VIDEO_LOCATION'))
65+
app.config['THUMBNAIL_VIDEO_LOCATION'] = int(os.getenv('THUMBNAIL_VIDEO_LOCATION') or 0)
6666
app.config['SECRET_KEY'] = os.getenv('SECRET_KEY', secrets.token_hex(32))
6767
app.config['DATA_DIRECTORY'] = os.getenv('DATA_DIRECTORY')
6868
app.config['VIDEO_DIRECTORY'] = os.getenv('VIDEO_DIRECTORY')

0 commit comments

Comments
 (0)