> s.replace will crash if s is None. Do this instead:
>
> s,e = g.readFileIntoString(fileName)
> if s is None: return ''
> s = s.replace("\r","")
> etc.
That took care of the trailing rectangles -- thanks.
Regarding my second post: which File-related command would do a "true"
import of the file so there's no external file reference at all?
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.