mirror of
https://github.com/adulau/nato-converter.git
synced 2024-11-23 02:27:10 +00:00
fix: [main] make it functional under Python 3
This commit is contained in:
parent
8faed36cc7
commit
fb8b3000cf
1 changed files with 2 additions and 3 deletions
|
@ -3,7 +3,6 @@
|
|||
|
||||
import sys
|
||||
|
||||
|
||||
table = {
|
||||
"a": "alpha",
|
||||
"b": "bravo",
|
||||
|
@ -84,8 +83,8 @@ if __name__ == '__main__':
|
|||
orig = orig.replace("\n", " ")
|
||||
result = convert(orig)
|
||||
|
||||
print "%s: %s" % (orig, result)
|
||||
print(f'{orig}:{result}')
|
||||
else:
|
||||
print "usage"
|
||||
print("usage")
|
||||
|
||||
# vim: set ts=4 sw=4 expandtab:
|
||||
|
|
Loading…
Reference in a new issue