We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47f6498 commit 3cf708fCopy full SHA for 3cf708f
majavahbot/tasks/task_3_bot_status.py
@@ -148,11 +148,13 @@ def format_block(self):
148
"Partially blocked" if self.block_data["partial"] else "Blocked",
149
self.block_data["by"],
150
self.format_date(date, sortkey=False),
151
- "to expire at {}".format(
152
- self.format_date(self.block_data["expiry"], sortkey=False)
153
- )
154
- if self.block_data["expiry"] != "infinite"
155
- else "",
+ (
+ "to expire at {}".format(
+ self.format_date(self.block_data["expiry"], sortkey=False)
+ )
+ if self.block_data["expiry"] != "infinite"
156
+ else ""
157
+ ),
158
self.format_block_reason(),
159
)
160
0 commit comments