Skip to content

Commit

Permalink
update for new image
Browse files Browse the repository at this point in the history
  • Loading branch information
Patent2net committed Apr 7, 2023
1 parent 9757de4 commit 5d1bcd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Patent2Net/app/dex.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
}
#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(dex_location)
#print ('youp ', os.path.dirname(os.path.realpath(__file__)))


global_progress = {}
Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def confirmation_post():
# form_result['p2n_gather_biblio'] = True
# form_result['p2n_content'] = False
#Return values of the form for testing the acquisition (Verification of working script)
with open ('result.txt', 'w') as fp:
with open (form_result['p2n_dir'] + 'result.txt', 'w') as fp:
for p in form_result.items():
fp.write("%s:%s\n" % p)

Expand Down

0 comments on commit 5d1bcd5

Please sign in to comment.