Skip to content

Commit

Permalink
Fix rendering of OdooSeriesNotDtected exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Dec 9, 2023
1 parent b98616f commit ca097fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/oca_github_bot/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class NoManifestFound(Exception):


class OdooSeriesNotDetected(Exception):
pass
def __init__(self, msg):
super().__init__(msg or "Odoo series could not be detected")


def is_addons_dir(addons_dir, installable_only=False):
Expand Down

0 comments on commit ca097fc

Please sign in to comment.