]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fix(Py3): Subrocess must use `urllib`
authorOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 14:36:14 +0000 (17:36 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 19:21:09 +0000 (22:21 +0300)
`urllib2` robot doesn't work in Python 3.

Robots/bkmk_rforking.py

index e1281219c66974d70c1b8d538744638e99bfc315..07f28bcf123dc31576049c960e04431ff4964438 100644 (file)
@@ -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