diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-04-08 17:32:47 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-04-08 17:32:47 +0300 |
commit | f8326d2a6e1a920e94be3e0349c97a5dbc3ac0c1 (patch) | |
tree | 2b63e4b03a55e8648f35ab0e9a816be6b3741f23 /cura_app.py | |
parent | 3d399672d004c3402a3c1140d2dffdd923f79979 (diff) |
Fix setting of sentry_env for betas
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura_app.py b/cura_app.py index 33370a1dbe..6c9839e79c 100755 --- a/cura_app.py +++ b/cura_app.py @@ -53,7 +53,7 @@ if with_sentry_sdk: if ApplicationMetadata.CuraVersion == "master": sentry_env = "development" # Master is always a development version. - elif ApplicationMetadata.CuraVersion in ["beta", "BETA"]: + elif "beta" in ApplicationMetadata.CuraVersion or "BETA" in ApplicationMetadata.CuraVersion: sentry_env = "beta" try: if ApplicationMetadata.CuraVersion.split(".")[2] == "99": |