mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 00:03:20 +01:00
Merge pull request #752 from patriceac/patch-14
Fix parsing of text file tasks
This commit is contained in:
commit
57ead7f0c0
@ -465,7 +465,7 @@ async function parseContent(text) {
|
||||
}
|
||||
// Normal txt file.
|
||||
const task = parseTaskFromText(text)
|
||||
if (task) {
|
||||
if (text.toLowerCase().match('seed:') && task) { // only parse valid task content
|
||||
restoreTaskToUI(task)
|
||||
return true
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user