Skip to content

Commit

Permalink
Automated commit -> added return statement to parser in jatosapi
Browse files Browse the repository at this point in the history
  • Loading branch information
miloswrath committed Sep 23, 2024
1 parent 99a53fe commit 2862397
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions jatosAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,13 @@ def move_txt(txt_files):


def push():
subprocess.run(["git","remote", "set-url", "https://github.com/HBClab/boost-beh-AF.git"])
subprocess.run(["git", "config", "--global", "user.email", "[email protected]"])
subprocess.run(["git", "config", "--global", "user.name", "miloswrath"])
subprocess.run(["git", "config", "--global", "user.password", "Milocute23"])
subprocess.run(["git", "add", "-A"])
subprocess.run(["git", "commit", "-m", "auto commit -> added subject task data"])
subprocess.run(["git", "push"])

import git
repo = git.Repo('./')
repo.git.add('.')
repo.git.commit('-m', 'new data')
origin = repo.remote(name='origin')
origin.push()
return None

def main():
args = parse_cmd()
Expand Down

0 comments on commit 2862397

Please sign in to comment.