Skip to content

Commit

Permalink
Merge pull request #39 from Guovin/dev
Browse files Browse the repository at this point in the history
fix:import cause diff fail
  • Loading branch information
Guovin authored Mar 30, 2024
2 parents 3dd7ff0 + 2b9ae9b commit c2475c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set final file name
id: set_final_file_name
run: |
echo "::set-output name=final_file::$(python -c 'try: import user_config as config; except ImportError: import config; print(config.final_file)')"
echo "::set-output name=final_file::$(python -c 'try: import user_config as config; except ImportError: import config as config; print(config.final_file)')"
- name: Install pipenv
run: pip3 install --user pipenv
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import user_config as config
except ImportError:
import config
import config as config
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
Expand Down
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import user_config as config
except ImportError:
import config
import config as config
import aiohttp
import asyncio
import time
Expand Down

0 comments on commit c2475c9

Please sign in to comment.