Fix for neug_upgrade.py.
[gnuk/neug.git] / tool / neug_upgrade.py
index 3796e44..f19bfd5 100755 (executable)
@@ -305,7 +305,7 @@ def main(wait_e, passwd, data_regnual, data_upgrade):
     #
     reg = None
     while reg == None:
-        print("Wait %d seconds..." % wait_e)
+        print("Wait {} second{}...".format(wait_e, 's' if wait_e > 1 else ''))
         time.sleep(wait_e)
         for dev in gnuk_devices_by_vidpid():
             try: