Skip to content
Snippets Groups Projects
Commit 41b68722 authored by Arnaud Taffanel's avatar Arnaud Taffanel
Browse files

Fixed bug that prevented connecting after opening about box

parent ee7c1cfb
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,11 @@ class RadioDriver(CRTPDriver): ...@@ -286,7 +286,11 @@ class RadioDriver(CRTPDriver):
except Exception as e: except Exception as e:
return str(e) return str(e)
return "Crazyradio version {}".format(self.cradio.version) ver = self.cradio.version
self.cradio.close()
self.cradio = None
return "Crazyradio version {}".format(ver)
def get_name(self): def get_name(self):
return "radio" return "radio"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment