Fix qvm-prefs

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-07-11 12:50:37 +02:00 committed by Wojtek Porczyk
parent c899d1f960
commit 190f045c07

View File

@ -61,6 +61,7 @@ parser.add_argument('--unset', '--default', '--delete', '-D',
def main(args=None):
args = parser.parse_args(args)
args.domain = args.domains.pop()
if args.property is None:
properties = args.domain.property_list()
@ -97,7 +98,6 @@ def main(args=None):
args.app.save()
return 0
print(str(getattr(args.domain, args.property)))
return 0