From 2cab0a2e7acf376382cb458c7ce61c536c6adf65 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Sat, 30 Mar 2019 12:45:47 -0400 Subject: [PATCH] Don't use Python3 type hints --- samples/subscribe_indicate_thermometer_sample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/subscribe_indicate_thermometer_sample.py b/samples/subscribe_indicate_thermometer_sample.py index 4bd2db48..e2136176 100644 --- a/samples/subscribe_indicate_thermometer_sample.py +++ b/samples/subscribe_indicate_thermometer_sample.py @@ -9,7 +9,7 @@ import pygatt -def data_handler_cb(handle: int, value: bytearray): +def data_handler_cb(handle, value): """ Indication and notification come asynchronously, we use this function to handle them either one at the time as they come.