Skip to content

Commit

Permalink
Merge branch 'main' into Guaquière
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Apr 30, 2023
2 parents 68c5062 + b7cf3ee commit 7929ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mk2_3phase_RFdatalog_temp/inject_sketch_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

def get_git_revision_short_hash() -> str:
try:
return subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'],shell=True).decode('ascii').strip()
return subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'],shell=True).decode('utf-8').strip()
except CalledProcessError:
return "N/A"

def get_git_current_branch() -> str:
try:
return subprocess.check_output(['git', 'branch', '--show-current'],shell=True).decode('ascii').strip()
return subprocess.check_output(['git', 'branch', '--show-current'],shell=True).decode('utf-8').strip()
except CalledProcessError:
return "N/A"

Expand Down

0 comments on commit 7929ce6

Please sign in to comment.