Commit b91e1c03 authored by Hardik Juneja's avatar Hardik Juneja

slapos/runner: fix small bug

parent 3326e16f
......@@ -349,7 +349,7 @@ def config_SR_folder(config):
profile = getCurrentSoftwareReleaseProfile(config)
if current_project[-1] == '/':
current_project = current_project[:-1]
name = current_project.split('/')[-1]
name = filter(current_project.split('/'), None)[-1]
md5sum = md5digest(profile)
link_to_folder(name, md5sum)
# check other links
......
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