Fix __init__

This commit is contained in:
Joshua Granick
2015-02-16 09:30:06 -08:00
parent b31d3cef67
commit 74058190c1
2 changed files with 4 additions and 4 deletions

View File

@@ -35,9 +35,9 @@ class SVGExport {
while (true) {
var length = lines.length;
var line = process.stdout.readLine ();
var line = StringTools.trim (process.stdout.readLine ());
if (length > 0 && StringTools.trim (line) == "-D lime") {
if (length > 0 && (line == "-D lime" || StringTools.startsWith (line, "-D lime=")) {
path = StringTools.trim (lines[length - 1]);