From 0e33e7e3ef6f99e9739ae338a193f99f3aba1507 Mon Sep 17 00:00:00 2001 From: jasdev Date: Wed, 4 Jun 2014 16:24:25 -0700 Subject: [PATCH] Fixing get-gallery method --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index dee1d3c..e4be5c3 100644 --- a/main.py +++ b/main.py @@ -251,6 +251,7 @@ def handle_unauthorized_commands(factory, action): if action == 'get-gallery': imgur = factory.build_api() + id = sys.argv[2] req = factory.build_request(('gallery', id)) res = imgur.retrieve(req)