Skip to content

Commit

Permalink
More debug for pic quality.
Browse files Browse the repository at this point in the history
  • Loading branch information
helioloureiro committed Jun 21, 2016
1 parent 510c34d commit f4ed5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weather-twitter.py
Expand Up @@ -197,7 +197,7 @@ def GetPhoto(f = None, quality = None):
filename = f
debug("Saving file %s" % filename)
pygame.image.save(image, filename)
resp = brightness(filename)
resp = brightness(filename, verbose=True)
debug("Quality response=%d" % resp)
if resp:
debug("Low quality detected. Fails=%d" % FAILCOUNTER)
Expand Down

0 comments on commit f4ed5ae

Please sign in to comment.