From: Oleg Broytman Date: Sun, 30 Dec 2007 20:31:16 +0000 (+0000) Subject: Fixed a bug - log can be None. X-Git-Tag: v4.5.3~226 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ca3a9bce3feac7ccc06a76c33182142033480f95;p=bookmarks_db.git Fixed a bug - log can be None. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@150 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Robots/bkmk_rforking.py b/Robots/bkmk_rforking.py index 849078e..c04026e 100644 --- a/Robots/bkmk_rforking.py +++ b/Robots/bkmk_rforking.py @@ -24,7 +24,7 @@ subp_pipe = None def stop_subp(log): global check_subp, subp_pipe if check_subp: - log(" restarting hanging subprocess") + if log: log(" restarting hanging subprocess") del check_subp del subp_pipe