Update pages/table.py
Browse files- pages/table.py +2 -2
pages/table.py
CHANGED
@@ -34,7 +34,7 @@ def newIndex():
|
|
34 |
return newIndex
|
35 |
|
36 |
def generate_files():
|
37 |
-
folder = '
|
38 |
files = os.listdir(folder)
|
39 |
for file in files:
|
40 |
file_path = Path(folder, file)
|
@@ -52,7 +52,7 @@ def generate_files():
|
|
52 |
return FILES
|
53 |
|
54 |
def delete_entry(key):
|
55 |
-
folder = '
|
56 |
file = FILES[key]['Titel']
|
57 |
os.remove(Path(folder, file))
|
58 |
FILES.pop(key)
|
|
|
34 |
return newIndex
|
35 |
|
36 |
def generate_files():
|
37 |
+
folder = './Streamlit_Docker/files'
|
38 |
files = os.listdir(folder)
|
39 |
for file in files:
|
40 |
file_path = Path(folder, file)
|
|
|
52 |
return FILES
|
53 |
|
54 |
def delete_entry(key):
|
55 |
+
folder = './Streamlit_Docker/files'
|
56 |
file = FILES[key]['Titel']
|
57 |
os.remove(Path(folder, file))
|
58 |
FILES.pop(key)
|