Skip to content

Commit 7789c46

Browse files
authored
Fix gui.py (#365)
There seemed to be some conflicts between #338 and #340, so I corrected them.
1 parent 4b0c86f commit 7789c46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gui.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
now_dir = os.getcwd()
1616
sys.path.append(now_dir)
17-
from config import Config as MyConfig
17+
from config import Config
1818

1919
Config = Config()
2020
import PySimpleGUI as sg
@@ -48,7 +48,6 @@ def __init__(
4848
初始化
4949
"""
5050
try:
51-
self.config = MyConfig()
5251
self.f0_up_key = key
5352
self.time_step = 160 / 16000 * 1000
5453
self.f0_min = 50

0 commit comments

Comments
 (0)