slack import: Refer the archive file as a file or dir.

This commit is contained in:
rht 2024-04-11 15:05:56 -04:00 committed by GitHub
parent 0be93b8519
commit c77ed52fa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class Command(BaseCommand):
for path in options["slack_data_path"]:
if not os.path.exists(path):
raise CommandError(f"Slack data directory not found: '{path}'")
raise CommandError(f"Slack data file or directory not found: '{path}'")
print("Converting data ...")
convert_slack_threads = not options["no_convert_slack_threads"]