diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 127583e25..0d6e85548 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -14,7 +14,9 @@ * src/plugins/WebPage.py: Pass gramps_id to filter rules. * src/plugins/WriteFtree.py: Pass gramps_id to filter rules. * src/plugins/WriteGeneWeb.py: Pass gramps_id to filter rules. - + + * src/plugins/WebPage.py (write_report): Test for empty dir_name. + 2005-06-16 Martin Hawlisch * src/gramps_main.py (on_merge_activate,on_fast_merge_activate): only merge if exactly two persons have been selected diff --git a/gramps2/src/plugins/WebPage.py b/gramps2/src/plugins/WebPage.py index 2e398f97c..87fecfbc3 100644 --- a/gramps2/src/plugins/WebPage.py +++ b/gramps2/src/plugins/WebPage.py @@ -1093,7 +1093,7 @@ class WebReport(Report.Report): def write_report(self): dir_name = self.target_path - if dir_name == None: + if not dir_name: dir_name = os.getcwd() elif not os.path.isdir(dir_name): parent_dir = os.path.dirname(dir_name)