From 8ea7e6461c254b40ca4d1d66acce80f927887098 Mon Sep 17 00:00:00 2001 From: Heddxh Date: Sun, 17 Mar 2024 10:19:32 +0800 Subject: [PATCH] Avoid using deepcopy on QDBusMessage --- yin_yang/plugins/_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yin_yang/plugins/_plugin.py b/yin_yang/plugins/_plugin.py index ddce089..f32445c 100644 --- a/yin_yang/plugins/_plugin.py +++ b/yin_yang/plugins/_plugin.py @@ -269,7 +269,7 @@ def set_theme(self, theme: str): self.call(self.create_message(theme)) def create_message(self, theme: str) -> QDBusMessage: - message = copy.deepcopy(self.base_message) + message = self.base_message message.setArguments([theme]) return message