Matze420 commited on
Commit
e6e6c8a
1 Parent(s): 1c5e54b

Update pages/table.py

Browse files
Files changed (1) hide show
  1. 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 = 'C:/Users/keckm/Documents/GitHub/Streamlit/files'
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 = 'C:/Users/keckm/Documents/GitHub/Streamlit/files'
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)