summaryrefslogtreecommitdiffstats
path: root/deluge/ui
diff options
context:
space:
mode:
authortbkizle <tbkizle@gmail.com>2022-01-13 18:15:50 -0500
committerCalum Lind <calumlind+deluge@gmail.com>2022-01-21 12:53:54 +0000
commitad27a278fd2b246c9c8aa30ca1887c11ca5bb712 (patch)
tree737e6e8b42b09fb15a98a40e89d74edcf60bc419 /deluge/ui
parent4f17fc41a506aeba6c595ef7ee2e53fbbd4aeeca (diff)
downloaddeluge-ad27a278fd2b246c9c8aa30ca1887c11ca5bb712.tar.gz
deluge-ad27a278fd2b246c9c8aa30ca1887c11ca5bb712.tar.bz2
deluge-ad27a278fd2b246c9c8aa30ca1887c11ca5bb712.zip
[GTK UI]About Dialog Update year
Diffstat (limited to 'deluge/ui')
-rw-r--r--deluge/ui/gtk3/aboutdialog.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/deluge/ui/gtk3/aboutdialog.py b/deluge/ui/gtk3/aboutdialog.py
index 989dd70f7..fe3452b82 100644
--- a/deluge/ui/gtk3/aboutdialog.py
+++ b/deluge/ui/gtk3/aboutdialog.py
@@ -6,6 +6,8 @@
# See LICENSE for more details.
#
+from datetime import date
+
from gi.repository import Gtk
import deluge.component as component
@@ -35,7 +37,7 @@ class AboutDialog:
self.about.set_copyright(
_('Copyright %(year_start)s-%(year_end)s Deluge Team')
- % {'year_start': 2007, 'year_end': 2019}
+ % {'year_start': 2007, 'year_end': date.today().year}
)
self.about.set_comments(
_('A peer-to-peer file sharing program\nutilizing the BitTorrent protocol.')