Skip to content

Commit

Permalink
Fixed path for License file
Browse files Browse the repository at this point in the history
  • Loading branch information
R Uthayamurthy authored and R Uthayamurthy committed Oct 24, 2023
1 parent c6ce7ae commit 7071484
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion about.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def __init__(self, main, PATH):
self.columnconfigure(0, weight=1)
self.rowconfigure(0, weight=1)
self.rowconfigure(1, weight=10)

self.path = PATH

# Header
hdr_frame = ttk.Frame(self, padding=10)
Expand Down Expand Up @@ -64,7 +66,7 @@ def display_license(self):
license_window.geometry('500x700')
license_window.title('T.U.R.P.O License')

with open('LICENSE.txt', 'r') as l:
with open(self.path / 'LICENSE.txt', 'r') as l:
license_txt = l.read()

license_txt_area = ScrolledText(license_window, padding=5, height=10, autohide=True)
Expand Down

0 comments on commit 7071484

Please sign in to comment.