gui 실행부분 제거

This commit is contained in:
2025-07-28 16:16:45 +09:00
parent 77459587a7
commit 1e275d2ac7

View File

@ -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()