diff --git a/RIGS/views/rigboard.py b/RIGS/views/rigboard.py index 0f619040..b35da179 100644 --- a/RIGS/views/rigboard.py +++ b/RIGS/views/rigboard.py @@ -395,10 +395,10 @@ class CreateForumThread(generic.base.RedirectView): params = { 'title': str(event), - 'body': 'https://rigs.nottinghamtec.co.uk/event/{}'.format(event.pk, event.pk), + 'body': f'https://rigs.nottinghamtec.co.uk/event/{event.pk}' 'category': 'rig-info' } - return f'https://forum.nottinghamtec.co.uk/new-topic?{}'.format(urllib.parse.urlencode(params)) + return f'https://forum.nottinghamtec.co.uk/new-topic?{urllib.parse.urlencode(params)}' class RecieveForumWebhook(generic.View):