Browse Source

1.2.2: Whoops, not Python's fault

Black broke it.
v2 1.2.2
Teran McKinney 1 year ago
parent
commit
3b7d0525c9
  1. 2
      setup.py

2
setup.py

@ -8,7 +8,7 @@ VERSION = None
with open("sporestackv2/version.py") as f:
for line in f:
if line.startswith("__version__"):
VERSION = line.replace("'", "").split("=")[1].strip()
VERSION = line.replace("\"", "").split("=")[1].strip()
break
if VERSION is None:
raise ValueError("__version__ not found in __init__.py")

Loading…
Cancel
Save