mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 01:07:36 +08:00
Fix for #939
This commit is contained in:
parent
8b58ce9939
commit
7c7c9a7b9d
1 changed files with 6 additions and 6 deletions
|
@ -1848,14 +1848,14 @@ def perform_manual_upload_subtitle():
|
||||||
authorize()
|
authorize()
|
||||||
ref = request.environ['HTTP_REFERER']
|
ref = request.environ['HTTP_REFERER']
|
||||||
|
|
||||||
episodePath = request.forms.episodePath
|
episodePath = request.forms.get('episodePath')
|
||||||
sceneName = request.forms.sceneName
|
sceneName = request.forms.get('sceneName')
|
||||||
language = request.forms.get('language')
|
language = request.forms.get('language')
|
||||||
forced = True if request.forms.get('forced') == '1' else False
|
forced = True if request.forms.get('forced') == '1' else False
|
||||||
upload = request.files.get('upload')
|
upload = request.files.get('upload')
|
||||||
sonarrSeriesId = request.forms.get('sonarrSeriesId')
|
sonarrSeriesId = request.forms.get('sonarrSeriesId')
|
||||||
sonarrEpisodeId = request.forms.get('sonarrEpisodeId')
|
sonarrEpisodeId = request.forms.get('sonarrEpisodeId')
|
||||||
title = request.forms.title
|
title = request.forms.get('title')
|
||||||
|
|
||||||
_, ext = os.path.splitext(upload.filename)
|
_, ext = os.path.splitext(upload.filename)
|
||||||
|
|
||||||
|
@ -1988,13 +1988,13 @@ def perform_manual_upload_subtitle_movie():
|
||||||
authorize()
|
authorize()
|
||||||
ref = request.environ['HTTP_REFERER']
|
ref = request.environ['HTTP_REFERER']
|
||||||
|
|
||||||
moviePath = request.forms.moviePath
|
moviePath = request.forms.get('moviePath')
|
||||||
sceneName = request.forms.sceneName
|
sceneName = request.forms.get('sceneName')
|
||||||
language = request.forms.get('language')
|
language = request.forms.get('language')
|
||||||
forced = True if request.forms.get('forced') == '1' else False
|
forced = True if request.forms.get('forced') == '1' else False
|
||||||
upload = request.files.get('upload')
|
upload = request.files.get('upload')
|
||||||
radarrId = request.forms.get('radarrId')
|
radarrId = request.forms.get('radarrId')
|
||||||
title = request.forms.title
|
title = request.forms.get('title')
|
||||||
|
|
||||||
_, ext = os.path.splitext(upload.filename)
|
_, ext = os.path.splitext(upload.filename)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue