Typo in utils, 'line.replace[3:]' -> 'line[3:]'

This commit is contained in:
jesopo 2018-10-04 16:01:34 +01:00
parent 82b40cc8b2
commit 096fd05cee

View file

@ -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()