modif import in json class
This commit is contained in:
parent
62664cfca0
commit
f1dbacc033
@ -170,7 +170,6 @@ class Interface:
|
||||
class JSONfile:
|
||||
|
||||
def __init__(self,filename):
|
||||
import os,json
|
||||
self.datafilepath=os.path.dirname(os.path.realpath(__file__))+"/"+filename
|
||||
try:
|
||||
with open(self.datafilepath, 'r', encoding='utf-8') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user