mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-29 12:16:54 +08:00
fix:admin
This commit is contained in:
1 parent
7ed8b68ee8
commit
8f3fa8af74
1 file changed
-1
@@ -78,7 +78,6 @@ class Settings:
|
||||
async def updates(self, options) -> None:
|
||||
with open('data/.env', 'w', encoding='utf-8') as f:
|
||||
for i, key, value in options:
|
||||
print(i, key, value)
|
||||
# 更新env文件
|
||||
f.write(f"{key}={value}\n")
|
||||
# 更新配置
|
||||
|
||||
Reference in new issue
Block a user