aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Vivaan Verma <[email protected]>2021-08-18 00:08:51 +0100
committerGravatar GitHub <[email protected]>2021-08-18 00:08:51 +0100
commit304df40b9535fc3d38295c1763698a020e29e2e4 (patch)
treecda722ad55789fba3f1f331c64122fe5ccd9e1c8
parentlint: Remove extraneous lint (diff)
fix: Make string f-string
-rw-r--r--arthur/exts/cloudflare/zones.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/arthur/exts/cloudflare/zones.py b/arthur/exts/cloudflare/zones.py
index 527bb8e..aadeac9 100644
--- a/arthur/exts/cloudflare/zones.py
+++ b/arthur/exts/cloudflare/zones.py
@@ -53,8 +53,8 @@ class ZonesView(discord.ui.View):
purge_attempt_response = await zones.purge_zone(required_id)
if purge_attempt_response["success"]:
message = ":white_check_mark:"
- message += f" **Cache cleared!** "
- message += "The Cloudflare cache for `{zone_name}` was cleared."
+ message += " **Cache cleared!** "
+ message += f"The Cloudflare cache for `{zone_name}` was cleared."
else:
description_content = f"The cache for `{zone_name}` couldn't be cleared.\n"
if errors := purge_attempt_response["errors"]: