Skip to content

Commit

Permalink
Fixed dev mode bug
Browse files Browse the repository at this point in the history
EPO-8517 Fixed dev mode bug
  • Loading branch information
ericdrosas87 committed Oct 6, 2023
1 parent c553c03 commit d51a0c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rubin.citsci"
version = "0.2.0"
version = "0.2.1"
readme = "README.md"
dependencies = [
"panoptes_client",
Expand Down
2 changes: 1 addition & 1 deletion src/rubin/citsci/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self):
self.email = ""
self.project = None
self.client = None
if os.getenv("CITSCI_PIPELINE_DEV_MODE") is "1" or os.getenv("CITSCI_PIPELINE_DEV_MODE").lower() is "true" :
if os.getenv("CITSCI_PIPELINE_DEV_MODE") == "1" or (os.getenv("CITSCI_PIPELINE_DEV_MODE") is not None and os.getenv("CITSCI_PIPELINE_DEV_MODE").lower() == "true") :
self.dev_mode_url = "-dev"
print("Development mode enabled.")
else:
Expand Down

0 comments on commit d51a0c6

Please sign in to comment.