From f567ec2d4d01f716af1aff14bbf7972b252cab68 Mon Sep 17 00:00:00 2001 From: ueg1990 Date: Wed, 21 Oct 2015 21:15:20 -0400 Subject: [PATCH] Add parameter reason for method report_gallery_item --- imgurpython/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgurpython/client.py b/imgurpython/client.py index 544330b..824b3ed 100644 --- a/imgurpython/client.py +++ b/imgurpython/client.py @@ -552,9 +552,9 @@ def gallery_item(self, item_id): response = self.make_request('GET', 'gallery/%s' % item_id) return build_gallery_images_and_albums(response) - def report_gallery_item(self, item_id): + def report_gallery_item(self, item_id, reason): self.logged_in() - return self.make_request('POST', 'gallery/%s/report' % item_id) + return self.make_request('POST', 'gallery/%s/report' % item_id, {'reason': reason}) def gallery_item_vote(self, item_id, vote='up'): self.logged_in()