gui 실행부분 제거
This commit is contained in:
@ -154,18 +154,19 @@ def main():
|
||||
|
||||
batch_done = batch_process_files(table, engine)
|
||||
if not batch_done:
|
||||
# GUI 시작
|
||||
root = tk.Tk()
|
||||
root.title("POS 데이터 업데이트")
|
||||
root.geometry("300x150")
|
||||
|
||||
lbl = tk.Label(root, text="POS 데이터 업데이트")
|
||||
lbl.pack(pady=20)
|
||||
|
||||
btn = tk.Button(root, text="데이터 선택 및 업데이트", command=run_pos_update)
|
||||
btn.pack()
|
||||
|
||||
root.mainloop()
|
||||
print("[ERROR] batch_process_files 실행 실패")
|
||||
# # GUI 시작
|
||||
# root = tk.Tk()
|
||||
# root.title("POS 데이터 업데이트")
|
||||
# root.geometry("300x150")
|
||||
#
|
||||
# lbl = tk.Label(root, text="POS 데이터 업데이트")
|
||||
# lbl.pack(pady=20)
|
||||
#
|
||||
# btn = tk.Button(root, text="데이터 선택 및 업데이트", command=run_pos_update)
|
||||
# btn.pack()
|
||||
#
|
||||
# root.mainloop()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user