aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/assetlink.py
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-08-01 10:23:37 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-08-16 15:30:12 -0700
commitaa387fc57ec1c176a739df8c5f4cedaf70ae9af1 (patch)
treebd6ca7a50b59199fb0e1cdfc6d24755564811978 /mediagoblin/gmg_commands/assetlink.py
parente7c08e3550d19691d989d48d8d499eb7b2b9f80a (diff)
downloadmediagoblin-aa387fc57ec1c176a739df8c5f4cedaf70ae9af1.tar.lz
mediagoblin-aa387fc57ec1c176a739df8c5f4cedaf70ae9af1.tar.xz
mediagoblin-aa387fc57ec1c176a739df8c5f4cedaf70ae9af1.zip
use parser.parse_known_args() instead of parser.parse_args()
Diffstat (limited to 'mediagoblin/gmg_commands/assetlink.py')
-rw-r--r--mediagoblin/gmg_commands/assetlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/assetlink.py b/mediagoblin/gmg_commands/assetlink.py
index 148ebe9e..49e27e33 100644
--- a/mediagoblin/gmg_commands/assetlink.py
+++ b/mediagoblin/gmg_commands/assetlink.py
@@ -138,7 +138,7 @@ def assetlink(args):
"""
Link the asset directory of the currently installed theme and plugins
"""
- mgoblin_app = commands_util.setup_app(args)
+ mgoblin_app = commands_util.setup_app(args[0])
app_config = mg_globals.app_config
# link theme