Commit 8be3acb1 authored by Sriram Karra's avatar Sriram Karra

Fix spurious / when default is used as foid in cd create-prpfile

parent 9e23ed42
......@@ -153,7 +153,7 @@ class Collection:
def get_fid (self, cd_fix=False):
fid = self.fid
if (fid is not None and cd_fix and self.get_dbid() == 'cd' and
fid[-1] != '/'):
fid != 'default' and fid[-1] != '/'):
fid += '/'
return fid
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