Don't use \n in notification messages, the next line is truncated

This commit is contained in:
Paul van Tilburg 2012-10-19 20:43:18 +02:00
parent 0598e68d13
commit 4e7a4eed19
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ def main():
battperc = 100.0 * wm.state['battery'] / cwiid.BATTERY_MAX
print("Wiimote connected (battery: %d%%)" % battperc)
xbmc.send_notification(PROGRAM,
"Wiimote connected\n(battery: %d%%)" % battperc)
"Wiimote connected (battery: %d%%)" % battperc)
tim.join()
# A timeout has occured (due to inactivity), close the connection to
# the Wiimote.