Skip to content

Commit

Permalink
Merge pull request #347 from scholarly-python-package/develop
Browse files Browse the repository at this point in the history
Fixing GH bug after renaming master to main
  • Loading branch information
ipeirotis authored Oct 13, 2021
2 parents 720a522 + c27bfa4 commit c173530
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@main

- name: Set up Python 3.8
uses: actions/setup-python@v1
Expand All @@ -24,6 +24,6 @@ jobs:
- name: Publish package to PyPI
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@main
with:
password: ${{ secrets.pypi_password }}
password: ${{ secrets.pypi_password }}
4 changes: 2 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
schedule:
- cron: "0 0 * * *"
push:
branches: [master, develop]
branches: [main, develop]
pull_request:
branches: [master, develop]
branches: [main, develop]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion scholarly/author_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def _fill_coauthors(self, soup, author):
# If geckodriver is not installed, resort to a short list and warn.
try:
coauthor_info = self._get_coauthors_long(author)
except WebDriverException as err:
except Exception as err:
coauthor_info = self._get_coauthors_short(soup)
self.nav.logger.warning(err.msg)
self.nav.logger.warning("Fetching only the top 20 coauthors")
Expand Down

0 comments on commit c173530

Please sign in to comment.