83 if pathlib.Path(fileName).exists(): |
83 if pathlib.Path(fileName).exists(): |
84 res = EricMessageBox.yesNo( |
84 res = EricMessageBox.yesNo( |
85 self, |
85 self, |
86 self.tr("Save Page Screen"), |
86 self.tr("Save Page Screen"), |
87 self.tr( |
87 self.tr( |
88 "<p>The file <b>{0}</b> already exists." " Overwrite it?</p>" |
88 "<p>The file <b>{0}</b> already exists. Overwrite it?</p>" |
89 ).format(fileName), |
89 ).format(fileName), |
90 icon=EricMessageBox.Warning, |
90 icon=EricMessageBox.Warning, |
91 ) |
91 ) |
92 if not res: |
92 if not res: |
93 return False |
93 return False |