소스 검색

Another windows fix ...

oz123 10 년 전
부모
커밋
67c23678dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pwman/ui/win.py

+ 1 - 1
pwman/ui/win.py

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