Commit 5e1bffed authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! runner: opening Software Release supplies a new one, instead of destroying all data

parent 3b1579eb
......@@ -335,7 +335,7 @@ def checkFolder():
def supplySoftwareRelease():
if request.form['path']:
if request.form.get('path'):
sr_absolute_path = realpath(app.config, request.form['path'])
sr_absolute_path = sr_absolute_path and os.path.join(sr_absolute_path, 'software.cfg') # XXX: find where this one was added before
if os.path.exists(sr_absolute_path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment