Skip to content

Commit

Permalink
Removed print debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobberwart committed Sep 22, 2016
1 parent 91be91d commit b31f8af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pokemongo_bot/cell_workers/sniper.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def __str__(self):
return self.url

def fetch_raw(self):
print "timeout: {} {}".format(self.timeout, self.url)
some_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/52.0.2743.116 Safari/537.36'
response = requests.get(self.url, headers={'User-Agent': some_agent}, timeout=self.timeout)
results = response.json()
Expand Down Expand Up @@ -108,7 +107,7 @@ def validate(self):
if self.enabled:
errors = []
data = self.fetch_raw()

# Check whether the params really exist if they have been specified like so
if data:
if self.mappings.iv.exists and self.mappings.iv.param not in data[0]:
Expand Down

0 comments on commit b31f8af

Please sign in to comment.