Skip to content

Commit 44726d5

Browse files
committed
Removed debugging
1 parent 067c96e commit 44726d5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

atem.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def connectToSwitcher(self):
127127

128128
while True:
129129
try:
130-
print('Connecting...')
130+
# print('Connecting...')
131131
self.sendDatagram(datagram)
132132
break
133133
except OSError as e:
@@ -136,7 +136,7 @@ def connectToSwitcher(self):
136136
#if e.errno == 101:
137137
time.sleep(5)
138138
except:
139-
print('Connecting datagram failed')
139+
# print('Connecting datagram failed')
140140
time.sleep(5)
141141
raise
142142

@@ -664,6 +664,8 @@ def add_service(self, zeroconf, type, name):
664664
index = -1
665665

666666
def tallyWatch(atem):
667+
if index == -1:
668+
return
667669
tally = atem.state['tally_by_index'][index]
668670

669671
try:

0 commit comments

Comments
 (0)