Skip to content

Commit 41749c1

Browse files
authored
fix(integration): Discard -dev when parsing required versions for bottle
1 parent b9c5cd4 commit 41749c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/bottle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def setup_once():
5757
# type: () -> None
5858

5959
try:
60-
version = tuple(map(int, BOTTLE_VERSION.split(".")))
60+
version = tuple(map(int, BOTTLE_VERSION.replace("-dev", "").split(".")))
6161
except (TypeError, ValueError):
6262
raise DidNotEnable("Unparsable Bottle version: {}".format(version))
6363

0 commit comments

Comments
 (0)