summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-11 14:29:19 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-11 14:29:19 -0500
commit66b65c854b09545fa24973e41bc2fe250a4dd068 (patch)
tree7ce673bb988c60b7e19998aa31db5a032222d962
parentf305b27025562df97aa35e0f535a0b6892f4f101 (diff)
fix a TextScript/MainText bug where '@' on a newline had an extra comma/param to db
-rw-r--r--extras/crystal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/crystal.py b/extras/crystal.py
index 0e0c92821..a00b8ebd8 100644
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -2228,7 +2228,7 @@ class MainText(TextCommand):
output += "@\"\n"
new_line = True
elif not in_quotes:
- if not was_comma:
+ if not was_comma and not new_line:
output += ", "
output += "\"@\"\n"