Update mw.py

This commit is contained in:
Mr Chen
2024-11-24 05:11:35 +08:00
parent 41000f0c5d
commit 27e1e0c73c
+1 -1
View File
@@ -205,7 +205,7 @@ def readFile(filename):
print(e)
return False
def writeFile(filename, content, mode='aw+'):
def writeFile(filename, content, mode='w+'):
# 写文件内容
try:
fp = open(filename, mode)