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