Change 'workshop' tag to 'lab'
This commit is contained in:
parent
ea3cdc8770
commit
32516d4b74
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class DiscourseDatabase():
|
||||||
|
|
||||||
def get_place(self, topic):
|
def get_place(self, topic):
|
||||||
"""Get place of a topic"""
|
"""Get place of a topic"""
|
||||||
places = ["cow-work", "garage", "workshop"]
|
places = ["cow-work", "garage", "lab"]
|
||||||
for place in places:
|
for place in places:
|
||||||
if place in topic["tags"]:
|
if place in topic["tags"]:
|
||||||
return f'<a href="https://kb.hs3.pl/tag/{place}">{place}</a>'
|
return f'<a href="https://kb.hs3.pl/tag/{place}">{place}</a>'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue