Skip to content

Commit

Permalink
fix: Silently pass when weasyprint is not installed (#1092)
Browse files Browse the repository at this point in the history
Fixes #1091
  • Loading branch information
kesara authored Feb 1, 2024
1 parent 534b366 commit 1652d99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xml2rfc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ def get_versions():
try:
dist = metadata.distribution(p)
versions.append((dist.metadata['name'], dist.metadata['version']))
except Exception as e:
print(e)
except:
pass
except:
pass
Expand Down

0 comments on commit 1652d99

Please sign in to comment.