mirror of https://github.com/zulip/zulip.git
update_analytics_counts: Fix warning output.
This commit is contained in:
parent
468c5b9a58
commit
c05315ace2
|
@ -43,7 +43,8 @@ class Command(BaseCommand):
|
|||
try:
|
||||
os.mkdir(settings.ANALYTICS_LOCK_DIR)
|
||||
except OSError:
|
||||
print(WARNING + "Analytics lock %s is unavailable; exiting... " + ENDC)
|
||||
print(f"{WARNING}Analytics lock {settings.ANALYTICS_LOCK_DIR} is unavailable;"
|
||||
f" exiting.{ENDC}")
|
||||
return
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue