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 00165b1 commit 69195b7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions jatosAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,17 +227,6 @@ def move_txt(txt_files):



def push(toke):
#use the folder name as task
task = os.path.basename(os.getcwd())

subprocess.run(['git', 'config', 'user.email', '[email protected]'])
subprocess.run(['git', 'remote', 'set-url', 'origin', f'https://miloswrath:{toke}@github.com/HBClab/{task}'])
subprocess.run(['git', 'config', 'user.name', 'miloswrath'])
subprocess.run(['git', 'add', '.'])
subprocess.run(['git', 'commit', '-m', 'Automated Commit -> New Data'])
subprocess.run(['git', 'push', 'origin', 'main'])


def push(toke):
#use the folder name as task
Expand Down

0 comments on commit 69195b7

Please sign in to comment.