* src/plugins/WebPage.py (write_report): Test for empty dir_name.
svn: r4840
This commit is contained in:
parent
7772b6f201
commit
1d78512f16
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user