Skip to content

Commit

Permalink
Update SWProxy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Viper2k4 authored Jun 25, 2016
1 parent 98e18f2 commit c5d4b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SWProxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5d4b01

Please sign in to comment.