broke the api again (unintentionally)

This commit is contained in:
David Halter
2013-01-07 20:55:00 +01:00
parent 3c15471182
commit de45c277c1

View File

@@ -61,7 +61,8 @@ class Script(object):
self._module = modules.ModuleWithCursor(source_path,
source=self.source, position=self.pos)
self._source_path = source_path
self.source_path = os.path.abspath(source_path)
self.source_path = None if source_path is None \
else os.path.abspath(source_path)
debug.speed('init')
def __repr__(self):