Fix qvm-prefs
This commit is contained in:
parent
c899d1f960
commit
190f045c07
@ -61,6 +61,7 @@ parser.add_argument('--unset', '--default', '--delete', '-D',
|
|||||||
|
|
||||||
def main(args=None):
|
def main(args=None):
|
||||||
args = parser.parse_args(args)
|
args = parser.parse_args(args)
|
||||||
|
args.domain = args.domains.pop()
|
||||||
|
|
||||||
if args.property is None:
|
if args.property is None:
|
||||||
properties = args.domain.property_list()
|
properties = args.domain.property_list()
|
||||||
@ -97,7 +98,6 @@ def main(args=None):
|
|||||||
args.app.save()
|
args.app.save()
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
print(str(getattr(args.domain, args.property)))
|
print(str(getattr(args.domain, args.property)))
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user