Intto str bug fix

andrejusk/bday
Alistair MacDonald 2018-08-31 19:45:50 +01:00 committed by GitHub
parent d21afe3f59
commit dfc23b2ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -73,10 +73,10 @@ def showinfo():
info += "IMSI : " + imsi + "\n"
rssi = sim800.rssi()
if (rssi):
info += "RSSI : " + rssi + "\n"
info += "RSSI : " + str(rssi) + "\n"
ber = sim800.ber()
if (ber):
info += "BER : " + ber + "\n"
info += "BER : " + str(ber) + "\n"
cellid = sim800.cellid()
if (cellid):
info += "Cell ID : " + cellid + "\n"