Use defined E-MAIL constant

This commit is contained in:
Paul S 2021-05-04 18:25:28 +02:00
parent 5d5477e3e8
commit c281a0a588
2 changed files with 12 additions and 8 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
""" """
project: Backuppy project: Backuppy
version: 1.01.000 version: 1.01.001
file: backup.py file: backup.py
summary: main entry python file summary: main entry python file
""" """
@ -19,7 +19,7 @@ from languages import english
from languages import german from languages import german
# local globals # local globals
VERSION: str = "1.01.000" VERSION: str = "1.01.001"
EMAIL: str = "fotocoder@joschu.ch" EMAIL: str = "fotocoder@joschu.ch"
LANG_EN: str = "English" LANG_EN: str = "English"
LANG_DE: str = "German" LANG_DE: str = "German"
@ -254,7 +254,7 @@ class Page10(QtWidgets.QWizardPage):
def initializePage(self): def initializePage(self):
self.label1.setText(get_lang_text("outro1")) self.label1.setText(get_lang_text("outro1"))
self.label2.setText(get_lang_text("outro2")) self.label2.setText(get_lang_text("outro2"))
urlLink = "<a href='mailto: " + EMAIL + "'>fotocoder@joschu.ch</a>" urlLink = f"<a href='mailto: {EMAIL}'>{EMAIL}</a>"
self.label3.setText(urlLink) self.label3.setText(urlLink)
self.label3.setOpenExternalLinks(True) self.label3.setOpenExternalLinks(True)

View file

@ -1,5 +1,9 @@
# Changelog Backuppy # Changelog Backuppy
## [1.01.001] - 2021-05-04
### Changed
- Use E-MAIL constant
## [1.01.000] - 2021-05-04 ## [1.01.000] - 2021-05-04
### Added ### Added
- Graphical installer based on Python3 with PySide2 GUI framework (Qt-bindings for Python) - Graphical installer based on Python3 with PySide2 GUI framework (Qt-bindings for Python)