#131 replaced dependencies to work with latest python version

This commit is contained in:
Adam Saudagar 2023-02-06 23:10:29 +05:30
parent 7331bc7824
commit 5acc7863bc
3 changed files with 8 additions and 7 deletions

View File

@ -121,7 +121,7 @@ def start_semifisher_config(gui: 'GUI'):
ttk.Label(controls_frame, text="Notification:").grid(row=0, column=0)
gui._notify = tk.IntVar(0)
gui._notify = tk.IntVar()
gui._notify_check = ttk.Checkbutton(controls_frame, command=toggle_sub, variable=gui._notify)
gui._notify_check.grid(row=0, column=1)
gui._notify_check['state'] = tk.DISABLED

View File

@ -57,13 +57,14 @@ class HotKey:
while True:
key = self.outq.get()
if key == "stop":
break
if key in Key:
callback = self._hotkeys[key]
if callback:
playsound(helper.manifest_file("beep.wav"), False)
callback()
elif key == "stop":
break
time.sleep(0.1)

View File

@ -1,8 +1,8 @@
urllib3
winshell
imutils
numpy>1.19.4
opencv_python==4.5.2.54
numpy
opencv_python
Pillow
pypiwin32
ttkthemes
@ -11,7 +11,7 @@ beautifulsoup4
whatsmyip
pynput
keyboard
playsound==1.2.2
playsound
event-scheduler
mouse
d3dshot
d3dshot @ git+https://github.com/fauskanger/D3DShot#egg=D3DShot