Skip to content

Commit 998cab9

Browse files
Tieqiongsbillinge
andauthored
correct year (#192)
* correct year * f-string in aboutdialog.py --------- Co-authored-by: Simon Billinge <sbillinge@users.noreply.github.com>
1 parent 905a37f commit 998cab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/pdfgui/gui/aboutdialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
computer programs for studying nanostructure in crystals,
4343
J. Phys.: Condens. Matter 19, 335219 (2007)."""
4444

45-
_copyright = "(c) 2005-{year},".format(year=__date__[:4])
45+
_copyright = f"(c) 2005-{__date__[-4:]},"
4646

4747
_homepage = "https://www.diffpy.org"
4848

0 commit comments

Comments
 (0)