Frames received via FTN packets, tags are not set, so we'll use the 'to' user

This commit is contained in:
2024-01-02 22:41:50 +11:00
parent 0625691ae5
commit dd1fef6f98
2 changed files with 11 additions and 6 deletions

View File

@@ -32,6 +32,10 @@ switch (ext) {
}
var page = new Page();
page.get(new PageObject(frame,index));
page.import(file,ext);
page.save();
if (page.get(new PageObject(frame,index))) {
page.import(file,ext);
page.save();
} else {
throw new Error('Page '+frame+index+' doesnt exist?');
}