Define sound related attributes in __init__
This commit is contained in:
parent
dc6b646065
commit
9b9e52e0ef
1 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue