Update msodclient.py

pull/632/head
Mr Chen 6 months ago
parent d8a34e7a0b
commit e0384dd6cb
  1. 11
      plugins/msonedrive/class/msodclient.py

@ -8,14 +8,19 @@ import re
import json
import io
sys.path.append(os.getcwd() + "/class/core")
import mw
import oauthlib
import requests
import datetime
from requests_oauthlib import OAuth2Session
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
DEBUG = False

Loading…
Cancel
Save