We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d337f7c commit bd2c40cCopy full SHA for bd2c40c
main.py
@@ -20,6 +20,8 @@ def admin_mode():
20
if admin_mode == 0:
21
break
22
handle_admin_actions(admin_mode, admin)
23
+ else:
24
+ print("\nAccess denied.")
25
26
def handle_admin_actions(admin_mode, admin):
27
if admin_mode == 1: # Add new products
services/__init__.py
@@ -31,4 +31,4 @@
31
32
menu = Menu()
33
database = Database()
34
-ADMIN_PASSWORD = int(open("config/password.txt", "r").read())
+ADMIN_PASSWORD = int(open("utilities/password.txt", "r").read())
config/password.txt utilities/password.txt
0 commit comments