Skip to content

Commit

Permalink
Merge pull request #17 from lsst-epo/EPO-8517
Browse files Browse the repository at this point in the history
Fixed dev mode bug
  • Loading branch information
ericdrosas87 authored Oct 6, 2023
2 parents 750e937 + d51a0c6 commit a7db070
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 a7db070

Please sign in to comment.