From a9623213e34204219e5e00ee62b079917dcc5e54 Mon Sep 17 00:00:00 2001 From: haqthat Date: Fri, 10 Jan 2014 14:29:18 -0500 Subject: [PATCH] fix args.py import error args.sh fails Traceback (most recent call last): File "unicode.py", line 14, in from clint import args ImportError: cannot import name args --- examples/unicode.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/unicode.py b/examples/unicode.py index 8168fde..22055ec 100644 --- a/examples/unicode.py +++ b/examples/unicode.py @@ -11,10 +11,12 @@ try: except: import simplejson as json -from clint import args +from clint.arguments import Args from clint import piped_in from clint.textui import colored, puts, indent +args = Args() + if __name__ == '__main__': puts('Test:')