From 5f4af1e17a24edd4f28b29dd3579ea671ed3d71c Mon Sep 17 00:00:00 2001 From: jtc42 Date: Fri, 28 Jun 2019 13:26:00 +0100 Subject: [PATCH] Updated super init syntax --- openflexure_microscope/stage/sangaboard/sangaboard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openflexure_microscope/stage/sangaboard/sangaboard.py b/openflexure_microscope/stage/sangaboard/sangaboard.py index ca88922e..7e610a94 100644 --- a/openflexure_microscope/stage/sangaboard/sangaboard.py +++ b/openflexure_microscope/stage/sangaboard/sangaboard.py @@ -67,7 +67,8 @@ class Sangaboard(ExtensibleSerialInstrument): you will use to communicate with the motor controller. That's the first argument so it doesn't need to be named. """ - super(Sangaboard, self).__init__(port, **kwargs) + ExtensibleSerialInstrument.__init__(self, port, **kwargs) + try: logging.debug("Running firmware checks") # Request firmware version from the board