From 29b619793aaf018cb2f6c7feb6d7c5236e319c7e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 11 Oct 2007 10:11:15 +0000 Subject: [PATCH] Fixed a minor bug. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@86 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Writers/bkmk_wflad.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Writers/bkmk_wflad.py b/Writers/bkmk_wflad.py index 0ba7075..ace4e73 100644 --- a/Writers/bkmk_wflad.py +++ b/Writers/bkmk_wflad.py @@ -1,7 +1,7 @@ """ Dump bookmarks db to a more readable FLAD after check_urls - Written by BroytMann, Apr 2000 - Sep 2007. Copyright (C) 2000-2007 PhiloSoft Design + Written by BroytMann. Copyright (C) 2000-2007 PhiloSoft Design. """ @@ -12,7 +12,7 @@ from bkmk_objects import Writer def strftime(s): try: return time.strftime("%a %d %b %Y %T", time.localtime(int(s))) - except ValueError: # s is already formatted + except (TypeError, ValueError): # s is None or is already formatted return s -- 2.39.5