We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b958362 commit 2c93d9eCopy full SHA for 2c93d9e
1 file changed
l0.ASSWipe.moon
@@ -80,6 +80,10 @@ process = (sub, sel, res) ->
80
aegisub.cancel! if aegisub.progress.is_cancelled!
81
aegisub.progress.task "Cleaning %d of %d lines..."\format i, lineCnt if i%10==0
82
83
+ unless line.styleRef
84
+ Log.warn "WARNING: Line #%d is using undefined style '%s', skipping...\n— %s", i, line.style, line.text
85
+ return
86
+
87
success, data = pcall ASS\parse, line
88
unless success
89
Log.warn "Couldn't parse line #%d: %s", i, data
0 commit comments