Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit fa04605

Browse files
committed
Make sure we get bytes
1 parent 0d51786 commit fa04605

File tree

1 file changed

+1
-1
lines changed
  • autoarchaeologist/regnecentralen

1 file changed

+1
-1
lines changed

autoarchaeologist/regnecentralen/rcsl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, this):
3333

3434
i = 0
3535
while True:
36-
j = this[i:].tobytes().find(b'RCSL')
36+
j = bytes(this[i:]).find(b'RCSL')
3737
if j == -1:
3838
break
3939
i += j

0 commit comments

Comments
 (0)