modified: client.py

deleted:    __pycache__/client.cpython-310.pyc
	deleted:    __pycache__/server.cpython-310.pyc
	deleted:    config.json
	deleted:    config.py
	deleted:    ip.txt
	deleted:    stand.db
	deleted:    todo
This commit is contained in:
fingadumbledore 2022-05-22 18:23:06 +02:00
parent 32798fb597
commit 4ab4c02148

View File

@ -13,9 +13,9 @@ from session import session
from tkinter import filedialog
#https://www.python-kurs.eu/tkinter_entry_widgets.php
server_on = FALSE
session_status = "no"
verbunden_status = "no"
sessionload = "no"
session_status = FALSE
verbunden_status = FALSE
sessionload = FALSE
verlauf = open('verlauf.txt', 'r')
tverlauf = verlauf.read()
ip = "http://192.168.178.56:8000"
@ -51,12 +51,12 @@ def load_session():
def action_get_erstellen_dialog():
if verbunden_status == "no":
if verbunden_status:
t_text = "Session erstellen"
messagebox.showinfo(message=t_text, title = "erstellen")
create_session()
#server()
elif verbunden_status == "yes":
else:
q_text = "Du bist bereits in einer Session willst du diese Verlassen?"
messagebox.showinfo(message=q_text, title = "Warnung")
@ -112,11 +112,11 @@ def build_window():
datei_menu.add_command(label="Verlauf", command=action_get_verlauf_dialog)
#datei_menu.add_separator() # Fügt eine Trennlinie hinzu
if verbunden_status == "no":
if verbunden_status:
datei_menu.add_command(label="Erstellen", command=action_get_erstellen_dialog)
datei_menu.add_command(label="Laden", command=load_session)
datei_menu.add_command(label="Exit", command=fenster.quit)
elif verbunden_status == "yes":
else:
info_text = Label(fenster, text = "Sie befinden sich im Moment noch in einer Session")
help_menu.add_command(label="Info!", command=action_get_info_dialog)