Skip to content

Commit

Permalink
修复问题
Browse files Browse the repository at this point in the history
  • Loading branch information
nishuzumi committed Dec 21, 2024
1 parent 9bcdcc7 commit 576c2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starter.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def play_audio():
self.running_step = 0

async def run(self):
proxy = Proxy.from_url(os.environ["HTTP_PROXY"]) if os.environ["HTTP_PROXY"] else None
proxy = Proxy.from_url(os.environ["HTTP_PROXY"]) if os.environ.get("HTTP_PROXY") else None
async with proxy_connect(
uri,
proxy=proxy,
Expand Down

0 comments on commit 576c2c2

Please sign in to comment.