Skip to content

Commit 975a357

Browse files
committed
msgflo-python: Don't error if options are passed
1 parent fecf77f commit 975a357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/msgflo-python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def load_module_file(filepath):
2525
def main():
2626
prog, args = sys.argv[0], sys.argv[1:]
2727
try:
28-
modulepath, role = args
28+
modulepath, role = args[0:2]
2929
except ValueError, e:
3030
sys.stderr.write("Usage: msgflo-python MODULE.py ROLE\n")
3131
return 1

0 commit comments

Comments
 (0)