Skip to content

Commit

Permalink
dex file location
Browse files Browse the repository at this point in the history
  • Loading branch information
Patent2net committed Jul 18, 2022
1 parent cd5305a commit a084878
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Patent2Net/app/dex.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
"in_progress": [],
"done": []
}
dex_location = '../dex.json' # os.path.dirname(os.path.realpath(__file__)) +
#dex_location = '../dex.json' # os.path.dirname(os.path.realpath(__file__)) +
dex_location = os.path.dirname(os.path.realpath(__file__)) + '/../../dex.json'
print(dex_location)
#print ('youp ', os.path.dirname(os.path.realpath(__file__)))
print ('youp ', os.path.dirname(os.path.realpath(__file__)))


global_progress = {}
Expand All @@ -53,7 +54,7 @@ def read_dex():
update_global_progress(in_progress_elmt)

except IOError:
print("¨pb dex.jdon file")
print("¨pb dex.json file")
write_dex()

def write_dex():
Expand Down

0 comments on commit a084878

Please sign in to comment.