]> jfr.im git - irc/weechat/weechat.org.git/commitdiff
Remove unnecessary parentheses
authorSébastien Helleu <redacted>
Thu, 23 Mar 2023 19:50:09 +0000 (20:50 +0100)
committerSébastien Helleu <redacted>
Thu, 23 Mar 2023 19:50:09 +0000 (20:50 +0100)
weechat/dev/views.py

index 479f21dff18e831a1772971d8fd999bf52762074..d13acfe25ce11acaa748a850694e26f72230ebc8 100644 (file)
@@ -162,14 +162,14 @@ def stats_repo(request, stats='weechat'):
             pass
 
     if stats == 'weechat':
-        repository = ('https://github.com/weechat/weechat')
+        repository = 'https://github.com/weechat/weechat'
         sloc_lang = 'C'
         svg_list += ['commits_version', 'commits_other_clients']
     elif stats == 'weechat-relay':
-        repository = ('https://github.com/weechat/weechat-relay')
+        repository = 'https://github.com/weechat/weechat-relay'
         sloc_lang = 'C'
     elif stats == 'scripts':
-        repository = ('https://github.com/weechat/scripts')
+        repository = 'https://github.com/weechat/scripts'
         svg_list += ['downloads']
         try:
             with open(files_path_join('stats', 'scripts_downloads.txt'),
@@ -178,10 +178,10 @@ def stats_repo(request, stats='weechat'):
         except:  # noqa: E722  pylint: disable=bare-except
             pass
     elif stats == 'qweechat':
-        repository = ('https://github.com/weechat/qweechat')
+        repository = 'https://github.com/weechat/qweechat'
         sloc_lang = 'Python'
     elif stats == 'weechat.org':
-        repository = ('https://github.com/weechat/weechat.org')
+        repository = 'https://github.com/weechat/weechat.org'
     return render(
         request,
         'dev/stats.html',