We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3ee41e commit 8496b8aCopy full SHA for 8496b8a
1 file changed
imgur-python/main.py
@@ -219,11 +219,10 @@ def handle_unauthorized_commands(factory, action):
219
req = factory.build_request(('album', id))
220
221
if action == 'get-comment':
222
- (item_hash, cid) = sys.argv[2:4]
223
- req = factory.build_request(('gallery', item_hash, 'comments', cid))
+ cid = sys.argv[2]
+ req = factory.build_request(('comment', cid))
224
225
if action == 'get-gallery':
226
- imgur = factory.build_api()
227
id = sys.argv[2]
228
req = factory.build_request(('gallery', id))
229
0 commit comments