Make line count check more lenient
This commit is contained in:
parent
6bffa06063
commit
113528e1f2
@ -76,7 +76,7 @@ public final class LegacyFrame extends Frame {
|
||||
try {
|
||||
List<String> lines = Files.readAllLines(mpticketFile, StandardCharsets.UTF_8);
|
||||
|
||||
if (lines.size() != 3) {
|
||||
if (lines.size() < 3) {
|
||||
Files.move(
|
||||
mpticketFile,
|
||||
mpticketFileCorrupt,
|
||||
|
Loading…
Reference in New Issue
Block a user