Skip to content

Commit

Permalink
Fixed py3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
huntzhan committed Aug 13, 2016
1 parent c533720 commit a13e35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion img2url/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def requests_kwargs(config):

def gitsha(data):
m = hashlib.sha1()
for arg in [b'blob %u\0' % len(data), data]:
for arg in [b'blob %s\0' % len(data), data]:
m.update(arg)
return m.hexdigest()

Expand Down

0 comments on commit a13e35d

Please sign in to comment.