Skip to content

Commit

Permalink
Fixed bug that prevented connecting after opening about box
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Jan 19, 2015
1 parent ee7c1cf commit 41b6872
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/cflib/crtp/radiodriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,11 @@ def get_status(self):
except Exception as 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):
return "radio"
Expand Down

0 comments on commit 41b6872

Please sign in to comment.