Fix release rendering when package has a dash
Committed dd21bf
--- a/webint_code/__init__.py
+++ b/webint_code/__init__.py
def get_project_from_name(db, name):
"""Return the project associated with project name."""
try:
- return db.select("projects", where="name = ?", vals=[name])[0]
+ return db.select("projects", where="name = ?", vals=[name])[0].replace("-", "_")
except IndexError:
return None