Commit 3763250a authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

workaround "TypeError: can't intern SafeText"

parent dca53f8b
Pipeline #1181 passed with stages
in 40 seconds
......@@ -161,7 +161,7 @@ class Project(Links, NamedModel, TimeStampedModel):
from_gepetto = models.BooleanField(default=True)
def git_path(self):
return settings.RAINBOARD_GITS / self.main_namespace.slug / self.slug
return settings.RAINBOARD_GITS / self.main_namespace.slug / self.slug.strip() # workaround SafeText TypeError
def git(self):
path = self.git_path()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment