From 0b78160bb3a7a59d6c91ee41ff273321a4b3d556 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 11 Nov 2023 23:08:17 +0300 Subject: [PATCH] Fix(Py3): Fix `urljoin` import --- Robots/bkmk_robot_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Robots/bkmk_robot_base.py b/Robots/bkmk_robot_base.py index d2175ac..fb8bb2d 100644 --- a/Robots/bkmk_robot_base.py +++ b/Robots/bkmk_robot_base.py @@ -16,10 +16,10 @@ import sys import socket import time try: - from urllib.parse import splittype, splithost, splittag + from urllib.parse import splittype, splithost, splittag, urljoin except ImportError: from urllib import splittype, splithost, splittag -from urlparse import urljoin + from urlparse import urljoin from m_lib.md5wrapper import md5wrapper from m_lib.net.www.util import parse_time -- 2.39.5