Update by natay on Mon Nov 19 13:01:07 EST 2018 from Admins-MacBook-Air.local
@@ -39,10 +39,8 @@ class Command(BaseCommand):
root = options['root']
for entry in os.scandir(root):
- if entry.name.startswith("job-"):
- rename(entry=entry, replacing="job-")
- elif entry.name.startswith("proj-"):
+ rename(entry=entry, replacing="job-")
proj_path = rename(entry=entry, replacing="proj-")
proj_uid = os.path.basename(proj_path)
