msaunby / ble-sensor-pi

Simple example for SensorTag with RaspberryPi a Bluetooth Low Engery (BLE GATT) device
152 stars 66 forks source link

formatting messed up #5

Open timredfern opened 10 years ago

timredfern commented 10 years ago

This is all messed up when I clone it (using ubuntu 13.10 x64)

The formatting is wrong, are some indents spaces and others tabs? It looks correct on screen but if I copy and paste from the 'raw' window here, I get:

File "sensortag.py", line 44 self.con.expect('Connection successful.*[LE]>') ^ IndentationError: unindent does not match any outer indentation level

keremgocen commented 8 years ago

Same for me, but worked better when i did git clone https://github.com/msaunby/ble-sensor-pi.gitand run the command again from within ble-sensor-pi/sensortag folder.

ie.

python sensortag.py C4:BE:84:72:76:88