Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
修改路径读取
Browse files Browse the repository at this point in the history
  • Loading branch information
Editst committed Sep 30, 2021
1 parent d6d2a6e commit d39903f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jksb_sysu.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from retrying import retry

options = webdriver.FirefoxOptions()
driver = webdriver.Firefox(executable_path=f'{os.getcwd()}/geckodriver.exe', options=options)
driver = webdriver.Firefox(executable_path=f"{os.environ['GITHUB_ACTION_PATH']}/geckodriver.exe", options=options)
print("初始化selenium driver完成")

bot_token = os.environ['TG_BOT_TOKEN']
Expand Down

0 comments on commit d39903f

Please sign in to comment.