projects
/
geekigeeki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chdir into data_dir to simplify a few things
[geekigeeki.git]
/
macros
/
HttpGet.py
diff --git
a/macros/HttpGet.py
b/macros/HttpGet.py
index 391a14429e013e03788a4b930d3df03452c1ea66..bc122a927044ef87664c81ffdcfface45a01140e 100644
(file)
--- a/
macros/HttpGet.py
+++ b/
macros/HttpGet.py
@@
-1,6
+1,6
@@
-def _macro_HttpGet(
args,
kvargs):
+def _macro_HttpGet(
*args, **
kvargs):
if args[1] in form:
if args[1] in form:
- return form[arg
v
[1]].value
+ return form[arg
s
[1]].value
elif len(args) > 2:
return args[2] # default value
raise Exception("Undefined argument " + args[1])
elif len(args) > 2:
return args[2] # default value
raise Exception("Undefined argument " + args[1])