Skip to content

Commit

Permalink
fix: add the missing makedir of local folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddd13 committed Oct 24, 2023
1 parent b065e7b commit 1fe9168
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auto_score/directly_request/mms.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'''
Date: 2023-10-23 18:04:14
LastEditors: Kumo
LastEditTime: 2023-10-24 00:33:19
LastEditTime: 2023-10-24 16:42:25
Description:
'''
from auto_score.utils.proxy_decorator import MY_PROXY
Expand All @@ -27,6 +27,8 @@ def __init__(self, email, password, local_savefolder):
self.email = email
self.password = password
self.local_savefolder = local_savefolder
if not os.path.exists(self.local_savefolder):
os.makedirs(self.local_savefolder)

self.login_url = "https://mms.pd.mapia.io/mms/public/user/signin/email"
self.headers_login = {
Expand Down

0 comments on commit 1fe9168

Please sign in to comment.