Skip to content

Commit

Permalink
Migrated % string formating
Browse files Browse the repository at this point in the history
  • Loading branch information
quantifiedcode-bot committed May 4, 2017
1 parent 0d9f554 commit 5be33d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plot_rsr.py
Expand Up @@ -31,8 +31,8 @@
if __name__ == "__main__":
import sys
if len(sys.argv) < 4:
print("Usage: %s <platform_name> <sensor> <band name>" %
(sys.argv[0]))
print("Usage: {0!s} <platform_name> <sensor> <band name>".format(
(sys.argv[0])))
exit(0)

platform = str(sys.argv[1])
Expand Down

0 comments on commit 5be33d6

Please sign in to comment.