Commit c373a296 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[httpupload] Import certifi only on windows

parent a3479402
...@@ -22,7 +22,8 @@ from urllib.request import Request, urlopen ...@@ -22,7 +22,8 @@ from urllib.request import Request, urlopen
import mimetypes import mimetypes
import logging import logging
from binascii import hexlify from binascii import hexlify
import certifi if os.name == 'nt':
import certifi
import nbxmpp import nbxmpp
from gi.repository import Gtk, GLib from gi.repository import Gtk, GLib
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment