summaryrefslogtreecommitdiff
path: root/crystal.py
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
commit7d420327f25e3ad772034590d4415eb0199ca8a8 (patch)
treeb0bdb8180a32e0e6397cf98d8e9e51c2148a1157 /crystal.py
parent3bbe68dbfad33b4932bb24fd403017b941f44b31 (diff)
fix a TextScript/MainText bug where '@' on a newline had an extra comma/param to db
original-commit-id: 66b65c854b09545fa24973e41bc2fe250a4dd068
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crystal.py b/crystal.py
index 0e0c928..a00b8eb 100644
--- a/crystal.py
+++ b/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"