Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Applied Black code style
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 20, 2022
1 parent 4310842 commit 7be13bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions autodonate/lib/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ def format_rcon(self) -> str:
if not self.process.item.rcon_command:
raise ValueError("Item.rcon_command required.")
return str(
self.process.item.rcon_command.format(
nickname=self.process.nickname
)
self.process.item.rcon_command.format(nickname=self.process.nickname)
)

def issue(self) -> str:
Expand Down
4 changes: 1 addition & 3 deletions autodonate/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,4 @@
if settings.CONFIG.get("DEBUG", True) and settings.CONFIG.get(
"DEBUG_STATICFILES_SERVER", True
):
urlpatterns + static(
settings.STATIC_URL, document_root=settings.STATIC_ROOT
)
urlpatterns + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

0 comments on commit 7be13bc

Please sign in to comment.