Make line count check more lenient
This commit is contained in:
parent
6bffa06063
commit
113528e1f2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue