diff --git a/src/plugins/export/ExportGeneWeb.py b/src/plugins/export/ExportGeneWeb.py index 5c95b42d6..3074726e9 100644 --- a/src/plugins/export/ExportGeneWeb.py +++ b/src/plugins/export/ExportGeneWeb.py @@ -397,10 +397,8 @@ class GeneWebWriter(object): ret = ret + m_date if m_place != "" and m_source != "": ret = ret + " #mp %s #ms %s" % (self.rem_spaces( m_place), self.rem_spaces( m_source)) - if m_place != "" and m_source == "": ret = ret + " #mp %s" % self.rem_spaces( m_place) - if m_source != "" and m_place == "": ret = ret + " #ms %s" % self.rem_spaces( m_source) elif engaged == 1: @@ -408,11 +406,9 @@ class GeneWebWriter(object): if eng_date != "": ret = ret + eng_date if m_place != "" and m_source != "": - ret = ret + " #mp %s #ms %s" % (self.rem_spaces( m_place), self.rem_spaces( m_source)) - + ret = ret + " #mp %s #ms %s" % (self.rem_spaces( m_place), self.rem_spaces( m_source)) if eng_place != "" and m_source == "": ret = ret + " #mp %s" % self.rem_spaces( m_place) - if eng_source != "" and m_place == "": ret = ret + " #ms %s" % self.rem_spaces( m_source) else: