]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
fix rewriting the same line with print() function
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 17 Feb 2021 22:32:50 +0000 (23:32 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 17 Feb 2021 22:32:50 +0000 (23:32 +0100)
bin/pfa-signpkg

index 0bd8e6e0b5231c0e6a327d4728ab38b582994ebd..bfd1f1c4faae71c5bef458714ad1a23b120b04e3 100755 (executable)
@@ -73,7 +73,7 @@ for file in files:
         sign.append(file)
         c += 1
     n += 1
-    print("\r%d/%d %s\033[0K" % (n, c, file))
+    print("\r%d/%d %s\033[0K" % (n, c, file), end='')
 
 print()
 
This page took 0.17388 seconds and 4 git commands to generate.