From 096fd05cee3be4be7052925ed6d3ac05328448be Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 4 Oct 2018 16:01:34 +0100 Subject: [PATCH] Typo in utils, 'line.replace[3:]' -> 'line[3:]' --- src/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()