mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 08:13:22 +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.
|
// Normal txt file.
|
||||||
const task = parseTaskFromText(text)
|
const task = parseTaskFromText(text)
|
||||||
if (task) {
|
if (text.toLowerCase().match('seed:') && task) { // only parse valid task content
|
||||||
restoreTaskToUI(task)
|
restoreTaskToUI(task)
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user