Skip to content

Commit

Permalink
Replace string_ with str.
Browse files Browse the repository at this point in the history
  • Loading branch information
regorxxx committed May 25, 2022
1 parent 29fe188 commit 44d2998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/acousticbrainz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 44d2998

Please sign in to comment.