correction bug parent directory
This commit is contained in:
parent
321a1c2122
commit
92a4445631
@ -8,7 +8,7 @@ import os
|
||||
class Interface:
|
||||
|
||||
def __init__(self):
|
||||
self.datafilepath=os.path.dirname(sys.argv[0])+"/chaine.json"
|
||||
self.datafilepath=os.path.dirname(os.path.realpath(__file__))+"/chaine.json"
|
||||
self.data = load_jsonfile(self.datafilepath)
|
||||
self.fenetre = Tk()
|
||||
self.fenetre.title("recherche de chaine")
|
||||
|
Loading…
Reference in New Issue
Block a user