void-packages/srcpkgs/nitroshare/patches/python3.patch

14 lines
316 B
Diff

--- a/src/dist/nitroshare.py.in
+++ b/src/dist/nitroshare.py.in
@@ -27,8 +27,8 @@
from json import loads
from os import path
-from urllib import url2pathname
-from urlparse import urlparse
+from urllib.request import url2pathname
+from urllib.parse import urlparse
import gi
gi.require_version('Gtk', '3.0')