Skip to content

Commit

Permalink
remove unused comment
Browse files Browse the repository at this point in the history
  • Loading branch information
w-okada committed Aug 5, 2023
1 parent fa0c0cb commit 9a3e730
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/voice_changer/VoiceChangerManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,11 @@ def update_settings(self, key: str, val: str | int | float | bool):
self.store_setting(key, val)

if key in self.settings.boolData:
print("self.settings.boolData1", val, self.settings.passThrough)
if val == "true":
newVal = True
elif val == "false":
newVal = False
print("self.settings.boolData2", val, newVal, self.settings.passThrough)
setattr(self.settings, key, newVal)
print("self.settings.boolData3", val, newVal, self.settings.passThrough)
elif key in self.settings.intData:
newVal = int(val)
if key == "modelSlotIndex":
Expand Down

0 comments on commit 9a3e730

Please sign in to comment.