Skip to content

Commit 1a130cb

Browse files
author
xirenbing
committed
Updata 4.6
1 parent 6526ef8 commit 1a130cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source_code/login_courses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# 在调用SC类之前 输出“LOGIN_FINISHED” 实现与父进程的通信
1111
# author Luoofan
1212
# date 2020-03-27 21:01:12
13-
# FilePath\source_code\login_courses.py
13+
# FilePath\login_courses.py
1414
#
1515
from requests import post, Session, get
1616
from urllib.parse import quote
@@ -75,7 +75,7 @@ def __init__(self, logindata, pattern=0, rate=1):
7575
if SYSTEM==1:
7676
if os_path.exists('./AccountInfo')==False:
7777
mkdir('./AccountInfo')
78-
self._sc_out_fp=open(r'/AccountInfo/'+self.account+r'.txt','w+',encoding="utf-8")
78+
self._sc_out_fp=open(r'./AccountInfo/'+self.account+r'.txt','a+',encoding="utf-8")
7979
else:
8080
self._sc_out_fp=None
8181

0 commit comments

Comments
 (0)