aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-04 16:01:34 +0100
committerGravatar jesopo2018-10-04 16:01:34 +0100
commit096fd05cee3be4be7052925ed6d3ac05328448be (patch)
tree4dbda0b815125b92ec7c3acdc5ee49253bf80b40 /src/utils
parentAdd basics of (by-default disabled) REST API (diff)
signature
Typo in utils, 'line.replace[3:]' -> 'line[3:]'
Diffstat (limited to 'src/utils')
-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()