def __init__(self): self.MyDb = my_db.MyDb() self.sql = "" if self.MyDb.exit_of_table('template'): self.template = 'template' else: self.template = 'template_copy'
def __init__(self): self.MyDb = my_db.MyDb() self.sql = "" self.data_list = [] if self.MyDb.exit_of_table('job'): self.job = 'job' else: self.job = 'job_copy'
def __init__(self): self.MyDb = my_db.MyDb() self.sql_empty_job = "" self.sql_empty_template = "" if self.MyDb.exit_of_table('job'): globalVal.TABLE_0 = 'job_copy' globalVal.TABLE_1 = 'template_copy' globalVal.TABLE_2 = 'job' globalVal.TABLE_3 = 'template' else: globalVal.TABLE_0 = 'job' globalVal.TABLE_1 = 'template' globalVal.TABLE_2 = 'job_copy' globalVal.TABLE_3 = 'template_copy'
def __init__(self): self.MyDb = my_db.MyDb() self.sql = ""
def __init__(self): self.MyDb = my_db.MyDb() self.sql_empty_job = "" self.sql_empty_template = ""