From 44d299813529fff2605ae92aff76140df370d784 Mon Sep 17 00:00:00 2001 From: regorxxx Date: Wed, 25 May 2022 12:09:44 +0200 Subject: [PATCH] Replace string_ with str. --- plugins/acousticbrainz/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/acousticbrainz/__init__.py b/plugins/acousticbrainz/__init__.py index d3288122..92cdbb85 100644 --- a/plugins/acousticbrainz/__init__.py +++ b/plugins/acousticbrainz/__init__.py @@ -472,9 +472,9 @@ def load(self): def save(self): setting = config.setting setting["acousticbrainz_add_simplemood"] = self.ui.add_simplemood.isChecked() - setting["acousticbrainz_simplemood_tagname"] = string_(self.ui.simplemood_tagname.text()) + setting["acousticbrainz_simplemood_tagname"] = str(self.ui.simplemood_tagname.text()) setting["acousticbrainz_add_simplegenre"] = self.ui.add_simplegenre.isChecked() - setting["acousticbrainz_simplegenre_tagname"] = string_(self.ui.simplegenre_tagname.text()) + setting["acousticbrainz_simplegenre_tagname"] = str(self.ui.simplegenre_tagname.text()) setting["acousticbrainz_add_keybpm"] = self.ui.add_keybpm.isChecked() setting["acousticbrainz_add_fullhighlevel"] = self.ui.add_fullhighlevel.isChecked() setting["acousticbrainz_add_sublowlevel"] = self.ui.add_sublowlevel.isChecked()