mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
python: Convert percent formatting to Python 3.6 f-strings.
Generated by pyupgrade --py36-plus. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
6480deaf27
commit
67e7a3631d
@@ -49,7 +49,7 @@ class Command(BaseCommand):
|
||||
|
||||
for path in options['slack_data_zip']:
|
||||
if not os.path.exists(path):
|
||||
raise CommandError("Slack data directory not found: '%s'" % (path,))
|
||||
raise CommandError(f"Slack data directory not found: '{path}'")
|
||||
|
||||
print("Converting Data ...")
|
||||
do_convert_data(path, output_dir, token, threads=num_threads)
|
||||
|
||||
Reference in New Issue
Block a user