From c5d4b01ea06428da2ed30125fa39607db86c2491 Mon Sep 17 00:00:00 2001 From: Viper2k4 Date: Sat, 25 Jun 2016 17:05:28 +0200 Subject: [PATCH] Update SWProxy.py --- SWProxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWProxy.py b/SWProxy.py index 530a78b..417ee6b 100755 --- a/SWProxy.py +++ b/SWProxy.py @@ -37,7 +37,7 @@ def __init__(self): def onRequest(self, proxy, host, port, request): try: - if host.startswith('summonerswar') and (host.endswith('qpyou.cn') or host.endswith('com2us.net'))and request.url.path.startswith('/api/'): + if host.startswith('summonerswar') and (host.endswith('qpyou.cn') or host.endswith('com2us.net')) and request.url.path.startswith('/api/'): self.request = request # if we care about this api call, store request for decryption later except AttributeError: pass