Skip to content

Commit

Permalink
String formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Jun 15, 2020
1 parent c7e10a0 commit 5e96399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adb_shell/adb_device.py
Expand Up @@ -887,7 +887,7 @@ def _read_until_close(self, adb_info):

# Make sure the ADB command has not timed out
if adb_info.timeout_s is not None and time.time() - start > adb_info.timeout_s:
raise exceptions.AdbTimeoutError("The command did not complete within %f seconds", adb_info.timeout_s)
raise exceptions.AdbTimeoutError("The command did not complete within {} seconds".format(adb_info.timeout_s))

def _send(self, msg, adb_info):
"""Send a message to the device.
Expand Down

0 comments on commit 5e96399

Please sign in to comment.