Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim-plugins
Commits
c373a296
Commit
c373a296
authored
Mar 01, 2017
by
Philipp Hörist
Browse files
[httpupload] Import certifi only on windows
parent
a3479402
Changes
1
Hide whitespace changes
Inline
Side-by-side
httpupload/httpupload.py
View file @
c373a296
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment