Skip to content

Commit

Permalink
💅 isort and black
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteApfel committed Jul 27, 2022
1 parent 02f3bdb commit 02e02f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion p2proxy/server/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import validators
from starlette.requests import Request
from starlette.responses import HTMLResponse, RedirectResponse
from starlette.routing import Router, Route
from starlette.routing import Route, Router

router = Router()

Expand Down
2 changes: 1 addition & 1 deletion pyqiwip2p/notify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class WebhookServer(object):
def check_headers(self, headers):
if (
"content-type" in headers
and 'application/json' in headers["content-type"]
and "application/json" in headers["content-type"]
and "X-Api-Signature-SHA256" in headers
):
return True
Expand Down
2 changes: 1 addition & 1 deletion pyqiwip2p/p2p_types/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pyqiwip2p.p2p_types.qiwi_datetime import *
from pyqiwip2p.p2p_types.custom_fields import *
from pyqiwip2p.p2p_types.customer import *
from pyqiwip2p.p2p_types.errors import *
from pyqiwip2p.p2p_types.qiwi_datetime import *
from pyqiwip2p.p2p_types.responses import *

0 comments on commit 02e02f7

Please sign in to comment.