Skip to content

Commit

Permalink
corrected filenotfound bare except in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-morel committed May 27, 2024
1 parent e45215d commit 553f008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

try:
long_description = (project_dir / 'README.rst').read_text()
except:
except FileNotFoundError:
try:
long_description = Path('README.rst').read_text()
except:
except FileNotFoundError:
long_description = Path('/src/README.rst').read_text()

deps = ()
Expand Down

0 comments on commit 553f008

Please sign in to comment.