Skip to content

Commit

Permalink
Handle case git is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksellen committed Mar 26, 2024
1 parent 789a5e7 commit 001fc01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/options.py
Expand Up @@ -12,6 +12,7 @@ def get_defaults(filename: Literal["options.env", "dev.env"]):


def get_git_rev():
release = None
with open(os.path.devnull, "w+") as null:
try:
release = (
Expand Down

0 comments on commit 001fc01

Please sign in to comment.