diff --git a/src/utils/__init__.py b/src/utils/__init__.py index 4cdd141d..b762e3d2 100644 --- a/src/utils/__init__.py +++ b/src/utils/__init__.py @@ -136,7 +136,7 @@ def get_hashflags(filename): if not line.startswith("#"): break elif line.startswith("#--"): - hashflag, sep, value = line.replace[3:].partition(" ") + hashflag, sep, value = line[3:].partition(" ") hashflags[hashflag] = value if sep else None return hashflags.items()