diff --git a/lib/yunohost_user.py b/lib/yunohost_user.py index 046bf0b4..f4b13221 100644 --- a/lib/yunohost_user.py +++ b/lib/yunohost_user.py @@ -2,4 +2,4 @@ # -*- coding: utf-8 -*- def user_list(args): - print vars(args) + print args diff --git a/yunohost b/yunohost index dc46133f..37fc68d6 100755 --- a/yunohost +++ b/yunohost @@ -3,7 +3,7 @@ import sys import argparse -sys.path.append('lib') +sys.path.append('lib') # Local temporary hack # Version of YunoHost version = '2.0' @@ -133,7 +133,7 @@ parsers['user_list'].add_argument( args = parser.parse_args() def main(args): - args.func(args) + args.func(vars(args)) if __name__ == '__main__': main(args)