Build bug report url
MODIFY
plextraktsync/commands/bug_report.py
plextraktsync/commands/bug_report.py
+from urllib.parse import urlencode
+
+URL_TEMPLATE = 'https://github.com/Taxel/PlexTraktSync/issues/new?template=bug.yml&{}'
+
+
+def bug_url():
+ from plextraktsync.util.versions import (pts_version, py_platform,
+ py_version)
+
+ q = urlencode({
+ 'os': py_platform(),
+ 'python': py_version(),
+ 'version': pts_version(),
+ })
+
+ return URL_TEMPLATE.format(q)
+
+
def bug_report():
pass

Build bug report url