Skip to content

Commit 6d6e34c

Browse files
committed
fixed name issue
1 parent 6257425 commit 6d6e34c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

obs_waykey/toggles_logic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
# Sets up needed variables
1616
client = obs.ReqClient(host='localhost', port=4455, password=args.password, timeout=3)
17-
trigger = args.trigger
17+
toggle = args.toggle
1818

1919
def record(name: str):
20-
if trigger == name:
20+
if toggle == name:
2121
client.toggle_record()
2222

2323
def record_pause(name: str):
24-
if trigger == name:
24+
if toggle == name:
2525
client.toggle_record_pause()
2626

2727
# TODO add more toggles

0 commit comments

Comments
 (0)