diff --git a/client/config.py.example b/client/config.py.example new file mode 100644 index 0000000000000000000000000000000000000000..6a0ad5d07db83a2500a809960f3217e39dbe0617 --- /dev/null +++ b/client/config.py.example @@ -0,0 +1 @@ +server_url = "http://localhost:5000" \ No newline at end of file diff --git a/client/pizza_palace.py b/client/pizza_palace.py index 4e259fef2af5f66abf06e1d81cf42639a85a71c0..792610ae28af9ea21bb2b249df56d02a0b0e3539 100644 --- a/client/pizza_palace.py +++ b/client/pizza_palace.py @@ -5,6 +5,13 @@ from tkinter import * ## Server URL server_url = "http://localhost:5000" +## Additional Config file import +try: + import config + server_url = config.server_url +except: + pass + ## Init root = Tk()