Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

rhtc77ed52fa92e
diff --git a/zerver/management/commands/convert_slack_data.py b/zerver/management/commands/convert_slack_data.py
index c0a16d6a9d4..d8cb5b88380 100644
--- a/zerver/management/commands/convert_slack_data.py
+++ b/zerver/management/commands/convert_slack_data.py
@@ -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"]