diff --git a/src/utils/__init__.py b/src/utils/__init__.py index 57980e58..745a8864 100644 --- a/src/utils/__init__.py +++ b/src/utils/__init__.py @@ -137,7 +137,7 @@ def get_hashflags(filename): break elif line.startswith("#--"): hashflag, _, value = line.replace("#--", "", 1).partition(" ") - hashflags[hashflag] = value + hashflags[hashflag] = value or None return hashflags.items() class Docstring(object):