aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/__init__.py2
1 files changed, 1 insertions, 1 deletions
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()