We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d7c7d commit 6d09a05Copy full SHA for 6d09a05
tests/app.py
@@ -14,7 +14,7 @@
14
from streamlit_authenticator.utilities import *
15
16
# Loading config file
17
-with open('../config.yaml', 'r', encoding='utf-8') as file:
+with open('config.yaml', 'r', encoding='utf-8') as file:
18
config = yaml.load(file, Loader=SafeLoader)
19
20
# Pre-hashing all plain text passwords once
@@ -109,5 +109,5 @@
109
st.error(e)
110
111
# Saving config file
112
-with open('../config.yaml', 'w', encoding='utf-8') as file:
+with open('config.yaml', 'w', encoding='utf-8') as file:
113
yaml.dump(config, file, default_flow_style=False, allow_unicode=True)
0 commit comments