Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2017-11-08 11:41:30 +01:00
parent 7e0e8dcfea
commit cc9a004e92

View File

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