Skip to content

Commit

Permalink
Merge pull request #16 from Patent2net/4.0.0-dev2
Browse files Browse the repository at this point in the history
fix spliter
  • Loading branch information
romaric-g committed Jun 11, 2021
2 parents 6f67a49 + c3447a9 commit 83eafd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Patent2Net/scripts/start_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
from Patent2Net.app.data.process_list import ProcessList
from Patent2Net.P2N_Config import LoadConfig


#
# Script chargé du lancement de auto split depuis l'interface
#

def main():

config = LoadConfig()
Expand Down
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,8 @@ def split_request(p2n_dir):

if to_be_found["need_spliter"]:
set_data_spliter_start_date(p2n_dir, int(date))
# p = Popen(['python', 'Patent2Net/scripts/run_spliter.py', target_path])

# Popen(['python', 'Patent2Net/scripts/start_auto.py', target_path])
Popen(['python', 'Patent2Net/scripts/start_auto.py', target_path])

return get_success_response("Spliter running", {})

Expand Down

0 comments on commit 83eafd9

Please sign in to comment.