summaryrefslogtreecommitdiff
path: root/jimbrella/admin_log.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-02-03 16:11:38 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-02-03 16:11:38 +0800
commitabff246c6af8bf64fce12e5f95fd54e3787d470b (patch)
tree7b0cdfad270eaa603e60b58932a9271a3b747619 /jimbrella/admin_log.py
parent616116a84120220adb8e36cb364f08b0a638807e (diff)
Reformat w/ black
Diffstat (limited to 'jimbrella/admin_log.py')
-rw-r--r--jimbrella/admin_log.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jimbrella/admin_log.py b/jimbrella/admin_log.py
index bb57787..3a390a1 100644
--- a/jimbrella/admin_log.py
+++ b/jimbrella/admin_log.py
@@ -108,7 +108,9 @@ class AdminLog:
)
elif event == "ADMIN_MODIFY_DB":
if not entry["past_value"]:
- description = "{admin_name} set {column} of umbrella #{id} to {new_value}."
+ description = (
+ "{admin_name} set {column} of umbrella #{id} to {new_value}."
+ )
elif not entry["new_value"]:
description = "{admin_name} cleared {column} of umbrella #{id} (was {past_value})."
else: