Commit 399d06b4 authored by Sebastian P枚lsterl's avatar Sebastian P枚lsterl Committed by John (J5) Palmieri
Browse files

[gi] Don't create variant twice

parent 8d8a84ea
......@@ -65,7 +65,7 @@ class _VariantCreator(object):
if not args:
raise TypeError('not enough arguments for GVariant format string')
v = constructor(args[0])
return (constructor(args[0]), format[1:], args[1:])
return (v, format[1:], args[1:])
return (None, format[1:], None)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment