From fd4b0b4b8ad927362f8ac37e2437ac412686fce2 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Sat, 21 Feb 2015 15:35:31 +0100 Subject: fix bug when having multiple inputs of the same type --- example.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'example.py') diff --git a/example.py b/example.py index 3b3690b..163908d 100644 --- a/example.py +++ b/example.py @@ -32,6 +32,11 @@ class Example: print(text) time.sleep(duration) + @command("multiple %s inputs are %s allowed") + def argstest(self, arg1, arg2): + print(arg1) + print(arg2) + @command("play note %n") def play_note(self, note): print("DING {note}".format(note=note)) -- cgit v1.3.1