AngelBottomless
commited on
Commit
•
0212168
1
Parent(s):
c999b46
Fix issue when adding new posts properly
Browse files
db.py
CHANGED
@@ -23,7 +23,7 @@ class TagListField(TextField, SearchField):
|
|
23 |
return value
|
24 |
assert all(isinstance(tag, (Tag, int)) for tag in value)
|
25 |
return "".join(
|
26 |
-
f"${base_repr(tag.id, 36) if isinstance(tag, Tag) else tag}#"
|
27 |
for tag in value
|
28 |
)
|
29 |
|
|
|
23 |
return value
|
24 |
assert all(isinstance(tag, (Tag, int)) for tag in value)
|
25 |
return "".join(
|
26 |
+
f"${base_repr(tag.id, 36) if isinstance(tag, Tag) else base_repr(tag, 36)}#"
|
27 |
for tag in value
|
28 |
)
|
29 |
|