diff options
| author | 2018-10-04 16:01:34 +0100 | |
|---|---|---|
| committer | 2018-10-04 16:01:34 +0100 | |
| commit | 096fd05cee3be4be7052925ed6d3ac05328448be (patch) | |
| tree | 4dbda0b815125b92ec7c3acdc5ee49253bf80b40 /src/utils | |
| parent | Add 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__.py | 2 |
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() |
