Private
Public Access
1
0

upload options work in background upload

This commit is contained in:
Sander Roosendaal
2017-11-08 09:22:15 +01:00
parent 70b5529029
commit a8eae5911d
4 changed files with 17 additions and 5 deletions

View File

@@ -191,6 +191,8 @@ def upload_options(body):
body = cleanbody(body)
try:
yml = (yaml.load(body))
if 'fromuploadform' in yml:
return yml
try:
for key, value in yml.iteritems():
lowkey = key.lower()