added exception argument

This commit is contained in:
make-ing 2015-10-06 10:40:10 +02:00
parent adce7b877d
commit 147034680d

View file

@ -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