Update path

This commit is contained in:
José De Freitas 2021-02-06 15:29:26 -05:00 committed by GitHub
parent 523c1383ff
commit b60fdf7b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,7 @@
file_readme = './../readme.md' import pathlib
here = pathlib.Path(__file__).parent
file_readme = here / './../readme.md'
with open(file_readme, 'r') as read_readme: with open(file_readme, 'r') as read_readme:
content_readme = read_readme.readlines() content_readme = read_readme.readlines()