From 7b8d9e00b07d75343e3dfabf6c02bc0ba4e862f4 Mon Sep 17 00:00:00 2001
From: Christoph Olberding <christoph.olberding@stud.hs-bochum.de>
Date: Wed, 31 Mar 2021 07:16:32 +0000
Subject: [PATCH] Update UI/UI.py

---
 UI/UI.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/UI/UI.py b/UI/UI.py
index ad9341f..fc4368e 100644
--- a/UI/UI.py
+++ b/UI/UI.py
@@ -30,9 +30,10 @@ lsum.pack()
 opt = tk.OptionMenu(app, variable, *OptionList)#Drop-Down MenĂ¼
 opt.config(width=90, font=('Helvetica', 32))
 opt.pack()
-ZielortID=[0,0,0,0,0,0,0,0,0,0,0,0]
-Wochentag=[0,0,0,0,0,0,0]
+
 def berechne():
+    ZielortID=[0,0,0,0,0,0,0,0,0,0,0,0]
+    Wochentag=[0,0,0,0,0,0,0]
     now = datetime.now() # aktuelle Zeit
     today = date.today()# aktuelles Datum
     current_time = now.strftime("%H:%M:%S")
-- 
GitLab