Added missing printing of retrieved option value

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-07-04 15:56:42 +02:00
parent 75a5d9458b
commit 55b0e7d6b5

View File

@ -33,7 +33,7 @@ from twomartens.masterthesis import config as conf
def config(args: argparse.Namespace) -> None: def config(args: argparse.Namespace) -> None:
if args.action == "get": if args.action == "get":
conf.get_property(args.property) print(conf.get_property(args.property))
elif args.action == "set": elif args.action == "set":
conf.set_property(args.property, args.value) conf.set_property(args.property, args.value)
elif args.action == "list": elif args.action == "list":