Skip to content

Commit

Permalink
Merge pull request #13 from 14790897/master
Browse files Browse the repository at this point in the history
fix: 修复了proxy为none时,PROXY未定义的问题
  • Loading branch information
vvbbnn00 authored Apr 26, 2024
2 parents 9e0948d + e4b2f83 commit 36619e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/qcsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ class QcshService:

def __init__(self, access_token, proxy=None):
self.access_token = access_token
global PROXY
if proxy is not None:
global PROXY
PROXY = proxy
else:
PROXY = None

def login(self, login_data):
"""
Expand Down

0 comments on commit 36619e6

Please sign in to comment.