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) batch_done = batch_process_files(table, engine)
if not batch_done: if not batch_done:
# GUI 시작 print("[ERROR] batch_process_files 실행 실패")
root = tk.Tk() # # GUI 시작
root.title("POS 데이터 업데이트") # root = tk.Tk()
root.geometry("300x150") # root.title("POS 데이터 업데이트")
# root.geometry("300x150")
lbl = tk.Label(root, text="POS 데이터 업데이트") #
lbl.pack(pady=20) # lbl = tk.Label(root, text="POS 데이터 업데이트")
# lbl.pack(pady=20)
btn = tk.Button(root, text="데이터 선택 및 업데이트", command=run_pos_update) #
btn.pack() # btn = tk.Button(root, text="데이터 선택 및 업데이트", command=run_pos_update)
# btn.pack()
root.mainloop() #
# root.mainloop()
if __name__ == "__main__": if __name__ == "__main__":
main() main()