aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate_game/connectionhandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/heartrate_game/connectionhandler.py')
-rw-r--r--examples/bluetooth/heartrate_game/connectionhandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/heartrate_game/connectionhandler.py b/examples/bluetooth/heartrate_game/connectionhandler.py
index f631ecdb3..e8734153e 100644
--- a/examples/bluetooth/heartrate_game/connectionhandler.py
+++ b/examples/bluetooth/heartrate_game/connectionhandler.py
@@ -29,7 +29,7 @@ class ConnectionHandler(QObject):
def alive(self):
if sys.platform == "darwin":
return True
- if simulator:
+ if simulator():
return True
return (self.m_localDevice.isValid()
and self.m_localDevice.hostMode() != QBluetoothLocalDevice.HostPoweredOff)