Skip to content

Commit

Permalink
Fix with black
Browse files Browse the repository at this point in the history
  • Loading branch information
audiodude committed Oct 7, 2023
1 parent b5e6fca commit 425b992
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quarry/web/replica.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def _db_name_mangler(self):
self.database_p = "centralauth_p"
else:
self.database_name = (
self.dbname if not self.dbname.endswith("_p") else self.dbname[:-2]
self.dbname
if not self.dbname.endswith("_p")
else self.dbname[:-2]
)
self.database_p = (
self.dbname
Expand Down

0 comments on commit 425b992

Please sign in to comment.