Skip to content

Commit b780889

Browse files
committed
license
1 parent 5c9b431 commit b780889

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,6 @@ ENV/
106106
*~
107107
src/*~
108108
src/.gitignor~
109-
.editorconfig
109+
.editorconfig
110+
111+
.vscode

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

patchview/Data/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020, Ming Hu
1+
Copyright (c) 2020-2022, Ming Hu
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

patchview/patchview.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3109,13 +3109,14 @@ def showdialog(self, msgText, details=""):
31093109
msg.exec_()
31103110

31113111
def License_clicked(self):
3112-
with open("./Data/LICENSE.txt") as f:
3112+
DATA_PATH = os.path.join(patchview_dir, "Data", "LICENSE.txt")
3113+
with open(DATA_PATH) as f:
31133114
BSD_3 = f.readlines()
31143115
BSD_3b = ""
31153116
for l in BSD_3:
31163117
BSD_3b = BSD_3b + l
31173118
self.showdialog(
3118-
"This program is under BSD-3 license.\nCopyright (c) 2020-2021, Ming Hu (ming.hu@bcm.edu). All rights reserved.",
3119+
"This program is under BSD-3 license.\nCopyright (c) 2020-2022, Ming Hu. All rights reserved.",
31193120
BSD_3b,
31203121
)
31213122

0 commit comments

Comments
 (0)