X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/831cbcedffa7c951b24a3a0d2b1ebda07167f692..d41b8890afb195ad1accaea79fe2323d65b98c59:/forum/models/node.py diff --git a/forum/models/node.py b/forum/models/node.py index 33444c7..286bf4a 100644 --- a/forum/models/node.py +++ b/forum/models/node.py @@ -52,7 +52,7 @@ class NodeContent(models.Model): def tagname_list(self): if self.tagnames: - return [name.strip() for name in self.tagnames.split(u' ') if name] + return [name.strip() for name in self.tagnames.split() if name] else: return []