Skip to content

Commit

Permalink
migration fix (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jun 6, 2022
1 parent 956521c commit 271d35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plantit/plantit/celery_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ def migrate_dirt_datasets(self, username: str):
for file in output_logs:
# create the folder if we need to
subcoll_path = join(root_collection_path, 'logs', file.folder)
if file.folder not in outputs.keys():
if file.folder not in logs.keys():
logs[file.folder] = dict()
logger.info(f"Creating DIRT migration subcollection {subcoll_path}")
client.mkdir(subcoll_path)
Expand Down

0 comments on commit 271d35b

Please sign in to comment.