summaryrefslogtreecommitdiff
path: root/ATRI/plugins/switch.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/switch.py')
-rw-r--r--ATRI/plugins/switch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/switch.py b/ATRI/plugins/switch.py
index 3e05467..810dac8 100644
--- a/ATRI/plugins/switch.py
+++ b/ATRI/plugins/switch.py
@@ -71,7 +71,7 @@ async def _(session: CommandSession):
a = json.dumps(data)
f2 = open("ATRI/plugins/switch/switch.json", 'w')
f2.write(a)
- f2.close
+ f2.close()
await session.send('设置完成!')