* src/plugins/WebPage.py (write_report): Test for empty dir_name.

svn: r4840
This commit is contained in:
Alex Roitman 2005-06-17 19:40:42 +00:00
parent 7772b6f201
commit 1d78512f16
2 changed files with 4 additions and 2 deletions

View File

@ -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 <Martin.Hawlisch@gmx.de>
* src/gramps_main.py (on_merge_activate,on_fast_merge_activate):
only merge if exactly two persons have been selected

View File

@ -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)