Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
new frame
Browse files Browse the repository at this point in the history
  • Loading branch information
viewv committed Jan 21, 2021
1 parent 8986664 commit 107562b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_current_stamp():

def generate_post_data(source_data):
whether_signed = False
model_data = json.decode_file("./model.json")
model_data = json.decode_file("./json/model.json")

current_date = get_current_date(TIME_ZONE)
# current_date_time = current_date + ' 00:00:00'
Expand Down Expand Up @@ -119,6 +119,6 @@ def generate_post_data(source_data):
model_data["body"]["dataStores"]["variable"] = source_data["body"]["dataStores"]["variable"]
model_data["body"]["parameters"] = source_data["body"]["parameters"]

json.encode_to_file("./example.json", model_data, overwrite=True)
json.encode_to_file("./json/example.json", model_data, overwrite=True)

return model_data, whether_signed

0 comments on commit 107562b

Please sign in to comment.