Skip to content

Commit 95eba53

Browse files
authored
Update patch_files.py - bugfix (#1018)
match expects a str, not a bytes-like object
1 parent 684d563 commit 95eba53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/amuse/community/rebound/patch_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def is_quilt_installed():
4040
return False
4141

4242
version_re = re.compile(r"(\d).(\d\d)")
43-
match = version_re.match(stdoutstring)
43+
match = version_re.match(str(stdoutstring))
4444
if not match:
4545
return False
4646

0 commit comments

Comments
 (0)