From 9bbd0009a72d683a5b9c68e74bbef357049856a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Tue, 11 Jun 2024 07:59:21 +0200 Subject: [PATCH] gtkgui: Import urlib.parse instead of urllib Because: >>> import urllib >>> urllib.parse.unquote('file://test') Traceback (most recent call last): File "", line 1, in AttributeError: module 'urllib' has no attribute 'parse' >>> import urllib.parse >>> urllib.parse.unquote('file://test') 'file://test' Closes https://github.com/adrienverge/PhotoCollage/issues/109 --- photocollage/gtkgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photocollage/gtkgui.py b/photocollage/gtkgui.py index b674af0..42e3b7f 100644 --- a/photocollage/gtkgui.py +++ b/photocollage/gtkgui.py @@ -21,7 +21,7 @@ import os.path import random import sys -import urllib +import urllib.parse import cairo import gi