diff options
-rw-r--r-- | dist/assignment-list-0.0.1.linux-x86_64.tar.gz | bin | 22515 -> 0 bytes | |||
-rw-r--r-- | dist/assignment_list-0.0.1-py3.6.egg | bin | 35127 -> 0 bytes | |||
-rwxr-xr-x[-rw-r--r--] | setup.py | 1 | ||||
-rw-r--r-- | src/entry.py | 6 |
4 files changed, 6 insertions, 1 deletions
diff --git a/dist/assignment-list-0.0.1.linux-x86_64.tar.gz b/dist/assignment-list-0.0.1.linux-x86_64.tar.gz Binary files differdeleted file mode 100644 index f93884c..0000000 --- a/dist/assignment-list-0.0.1.linux-x86_64.tar.gz +++ /dev/null diff --git a/dist/assignment_list-0.0.1-py3.6.egg b/dist/assignment_list-0.0.1-py3.6.egg Binary files differdeleted file mode 100644 index b339413..0000000 --- a/dist/assignment_list-0.0.1-py3.6.egg +++ /dev/null @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from setuptools import setup setup() 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( |