Rafał Pitoń 8 лет назад
Родитель
Сommit
55c971e479
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      misago/threads/threadtypes/thread.py

+ 1 - 1
misago/threads/threadtypes/thread.py

@@ -45,7 +45,7 @@ class Thread(ThreadType):
         )
 
     def get_category_read_api_url(self, category):
-        return '{,}?category={,}'.format(reverse('misago:api:thread-read'), category.pk)
+        return '{}?category={}'.format(reverse('misago:api:thread-read'), category.pk)
 
     def get_thread_absolute_url(self, thread, page=1):
         if page > 1: