mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
remove unused string format to fix flake8 (#1024)
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
@@ -193,7 +193,7 @@ class _RatbagdDBus(GObject.GObject):
|
||||
# args to .Set are "interface name", "function name", value-variant
|
||||
val = GLib.Variant("{}".format(type), value)
|
||||
if readwrite:
|
||||
pval = GLib.Variant("(ssv)".format(type), (self._interface, property, val))
|
||||
pval = GLib.Variant("(ssv)", (self._interface, property, val))
|
||||
self._proxy.call_sync("org.freedesktop.DBus.Properties.Set",
|
||||
pval, Gio.DBusCallFlags.NO_AUTO_START,
|
||||
2000, None)
|
||||
|
||||
Reference in New Issue
Block a user