Skip to content

Commit 74ab407

Browse files
authored
Merge pull request #7 from Hurderella/master
return upload information
2 parents ad1e566 + 180ddca commit 74ab407

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

imgurpython/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ def get_image(self, image_id):
586586

587587
def upload_from_path(self, path, config=None, anon=True):
588588
with open(path, 'rb') as fd:
589-
self.upload(fd, config, anon)
589+
return self.upload(fd, config, anon)
590590

591591
def upload(self, fd, config=None, anon=True):
592592
if not config:

0 commit comments

Comments
 (0)