added exception argument
This commit is contained in:
parent
adce7b877d
commit
147034680d
1 changed files with 2 additions and 2 deletions
|
|
@ -428,13 +428,13 @@ class MachineCom(object):
|
|||
try:
|
||||
self._temperature_timer.cancel()
|
||||
self._temperature_timer = None
|
||||
except:
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
if self._sd_status_timer is not None:
|
||||
try:
|
||||
self._sd_status_timer.cancel()
|
||||
except:
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
self._monitoring_active = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue