Skip to content

Commit

Permalink
Merge pull request #1 from heddxh/fix-deepcopy
Browse files Browse the repository at this point in the history
Avoid using deepcopy on QDBusMessage
  • Loading branch information
heddxh authored Mar 17, 2024
2 parents 1f471ac + 8ea7e64 commit 764c35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yin_yang/plugins/_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 764c35d

Please sign in to comment.