Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Tang committed Mar 28, 2018
1 parent 562739c commit bff4339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ltadatamallcrawler/requestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def describe(self):
def getdata(self):
try:
return requests.get(self.url, headers=self.headers).text
except Exception, e:
except Exception as e:
sys.stderr.write('%s\n'%e.message)
return None

Expand Down

0 comments on commit bff4339

Please sign in to comment.