Commit ccde49e2 authored by Cornelius Kölbel's avatar Cornelius Kölbel

make adaptions for python 3

parent aabe3dd1
...@@ -59,8 +59,8 @@ def main(): ...@@ -59,8 +59,8 @@ def main():
username = getpass.getuser() username = getpass.getuser()
remains = check_remain(username, SQLFILE) remains = check_remain(username, SQLFILE)
print "Remaining OTP hashes:" print("Remaining OTP hashes:")
print "=====================" print("=====================")
for k, v in remains.iteritems(): for k, v in remains.iteritems():
print("%s: %s" % (k, v)) print("%s: %s" % (k, v))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment