From ad27a278fd2b246c9c8aa30ca1887c11ca5bb712 Mon Sep 17 00:00:00 2001 From: tbkizle Date: Thu, 13 Jan 2022 18:15:50 -0500 Subject: [PATCH] [GTK UI]About Dialog Update year --- deluge/ui/gtk3/aboutdialog.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.')