Define sound related attributes in __init__

This commit is contained in:
Dpeta 2023-03-14 18:01:39 +01:00
parent dc6b646065
commit 9b9e52e0ef
No known key found for this signature in database
GPG key ID: 51227517CEA0030C

View file

@ -1569,6 +1569,14 @@ class PesterWindow(MovingWindow):
self.sincerecv = 0 # Time since last recv
self.lastCheckPing = None
# These get redefined if sound works
self.alarm = None
self.memosound = None
self.namesound = None
self.ceasesound = None
self.honksound = None
self.sounds = []
# Linux user-space API
if ostools.isLinux():
# Set no_new_privs bit.