From: Oleg Broytman Date: Sun, 12 Nov 2023 14:36:14 +0000 (+0300) Subject: Fix(Py3): Subrocess must use `urllib` X-Git-Tag: 5.0.0~45 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=22edd674b39699fedc032a08855bbf4666547c6c;p=bookmarks_db.git Fix(Py3): Subrocess must use `urllib` `urllib2` robot doesn't work in Python 3. --- diff --git a/Robots/bkmk_rforking.py b/Robots/bkmk_rforking.py index e128121..07f28bc 100644 --- a/Robots/bkmk_rforking.py +++ b/Robots/bkmk_rforking.py @@ -52,7 +52,7 @@ _set_subproc = True class robot_forking(Robot): - subproc = 'urllib2' # Default subprocess + subproc = 'urllib' # Default subprocess def check_url(self, bookmark): global _set_subproc