Skip to content

Commit

Permalink
Changed error message related #17
Browse files Browse the repository at this point in the history
  • Loading branch information
GulsahKose committed Jan 13, 2015
1 parent c41e46f commit 9ef7d5f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libpebble/p.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def cmd_remote_linux(pebble, args):

# Sends f5 keystroke to libreoffice impress for view fullscreen
fullscreen = "xdotool key --window " +window_id+" F5"
pexpect.run(fullscreen)
pexpect.run(fullscreen)
except Exception as e:
print _("Something's wrong")
raise e
Expand Down Expand Up @@ -197,8 +197,7 @@ def main():
pebble = libpebble.Pebble(pebble_id, args.lightblue, args.pair)
break
except LightBluePebbleError as e:
tkMessageBox.showerror(title="Error", message=e._message, parent=window)
tkMessageBox.showerror(title="Error", message="Be sure to disconnect bluetooth between your watch and your phone. Please try agan.", parent=window)
tkMessageBox.showerror(title="Error", message=_("Bluetooth connection error"), parent=window)
raise KeyboardInterrupt
except PebbleError as e:
tkMessageBox.showerror(title="Error", message=e._message, parent=window)
Expand Down

0 comments on commit 9ef7d5f

Please sign in to comment.