summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/entry.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/entry.py b/src/entry.py
index addc96a..2a50cfd 100644
--- a/src/entry.py
+++ b/src/entry.py
@@ -1,4 +1,4 @@
-from datetime import date, datetime
+from datetime import date
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QFont
from PyQt5.QtWidgets import QHBoxLayout, QLabel
@@ -45,6 +45,10 @@ class Entry:
self.due.day(),
self.due.year()
))
+ elif self.due_alt:
+ body.setText("{0}: ".format(
+ self.due_alt
+ ))
if self.link:
body.setOpenExternalLinks(True)
body.setText(body.text() + "<a href=\"{0}\" style=\"color: {1};\">".format(