Skip to content

Commit

Permalink
Merge pull request #1 from Thomasedv/master
Browse files Browse the repository at this point in the history
Bugfix with regards to build exe, and locating the License.
  • Loading branch information
Thomasedv authored Aug 30, 2017
2 parents 128083d + 0c466c8 commit c4c1241
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Core.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def initial_checks(self):
self.ffmpeg_path = self.locate_program_path('ffmpeg.exe')
self.program_workdir = self.set_program_working_directory().replace('\\', '/')
self.workDir = os.getcwd().replace('\\', '/')
self.lincense_path = self.resource_path('LICENSE')


self.local_dl_path = ''.join([self.workDir, '/DL/'])

Expand Down Expand Up @@ -1143,7 +1145,7 @@ def read_license(self):

if not self.license_shown:
self.tab4_abouttext_textedit.clear()
with open('LICENSE','r') as f:
with open(self.lincense_path,'r') as f:
for line in f.readlines():
self.tab4_abouttext_textedit.append(line.strip())
self.license_shown = True
Expand Down

0 comments on commit c4c1241

Please sign in to comment.