Explorar o código

Another windows fix ...

oz123 %!s(int64=10) %!d(string=hai) anos
pai
achega
67c23678dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pwman/ui/win.py

+ 1 - 1
pwman/ui/win.py

@@ -90,7 +90,7 @@ class PwmanCliWinNew(PwmanCliNew):
             self.error(e)
 
     def print_node(self, node):
-        width = str(tools._defaultwidth)
+        width = tools._defaultwidth
         print("Node {}.".format(node._id))
         print("{} {}".format(tools.typeset("Username:", Fore.RED).ljust(width),
                              node.username))