Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Manovich authored May 4, 2021
1 parent 126f3aa commit 25c5d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/engine/migrations/0038_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def migrate2meta(apps, shema_editor):
logger.info('Preparing of the dummy chunks has begun')
for idx, img_paths in itertools.groupby(sources, lambda x: next(counter) // db_data.chunk_size):
if os.path.exists(os.path.join(upload_dir, name_format.format(idx))):
logger.info(name_format.format(idx) + " alredy exists")
logger.info(name_format.format(idx) + " already exists")
continue
with open(os.path.join(upload_dir, name_format.format(idx)), "w") as dummy_chunk:
dummy_chunk.writelines([f"{img_path}\n" for img_path in img_paths])
Expand Down

0 comments on commit 25c5d99

Please sign in to comment.