From 7aa8261179d5557b0b0b3e9fb5be23f0c6e1c5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=CC=94=CD=AF=CD=86=CC=86=CD=8C=CC=88=CD=8C=CC=9A=CC=BD?= =?UTF-8?q?=CD=92=CC=BF=CD=AF=CD=A4=CD=82=CC=AD=CC=AE=CC=97=CC=AF=CC=B3?= =?UTF-8?q?=CC=AF=CC=9C=CC=B3=CC=B1=CD=85=CC=B0=CD=85=CC=AE=CD=8D=CC=AF?= =?UTF-8?q?=CC=AF=CC=B2=CC=9D=CC=A5e=CC=87=CC=94=CD=AC=CD=A7=CC=8D=CD=A3?= =?UTF-8?q?=CC=9A=CC=89=CC=A5=CC=9C=CC=97=CD=89=CC=A6=CC=B0=CD=88=CC=BA?= =?UTF-8?q?=CC=9F=CC=BB=CC=A6d=CC=8F=CD=AB=CC=8C=CD=83=CC=81=CD=A6=CC=86?= =?UTF-8?q?=CC=8B=CC=85=CD=AF=CC=8C=CD=86=CD=82=CD=91=CC=8A=CC=91=CC=84?= =?UTF-8?q?=CC=8A=CC=A6=CC=A6=CC=AF=CC=A9=CC=A0=CC=97=CD=94=CC=9C=CC=BC?= =?UTF-8?q?=CC=ACT=CC=8F=CC=86=CD=AE=CC=BD=CC=81=CD=AB=CC=8E=CC=96=CC=B1?= =?UTF-8?q?=CD=95=CC=AC=CC=AC=CD=88=CC=B9oor?= <09890@hotmail.com> Date: Sat, 31 Dec 2016 12:07:53 -0800 Subject: [PATCH] Update Design.py --- core/Design.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/Design.py b/core/Design.py index 5f9a515..b52a0db 100755 --- a/core/Design.py +++ b/core/Design.py @@ -71,8 +71,11 @@ def pkey(self,msg): class DESIGN: - def Line(self,CodeName,Description):print colors[0]+" |"+colors[1]+"="+colors[0]+"|:| "+colors[7]+CodeName+colors[0]+"\t\t"+Description - + def Line(self,CodeName,Description): + appent_tab = "" + if len(CodeName) < 14 : appent_tab = "\t" + print colors[0]+" "+colors[7]+CodeName+colors[0]+appent_tab+"\t\t"+Description + def option(self,lot): more="" if lot == True : more = "["+colors[1]+"+"+colors[0]+"]"