Skip to content

Commit

Permalink
Update patch_files.py - bugfix (#1018)
Browse files Browse the repository at this point in the history
match expects a str, not a bytes-like object
  • Loading branch information
rieder authored Dec 11, 2023
1 parent 684d563 commit 95eba53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amuse/community/rebound/patch_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def is_quilt_installed():
return False

version_re = re.compile(r"(\d).(\d\d)")
match = version_re.match(stdoutstring)
match = version_re.match(str(stdoutstring))
if not match:
return False

Expand Down

0 comments on commit 95eba53

Please sign in to comment.