Permalink
Browse files

Ignore bad lines in access files better

  • Loading branch information...
bberenz committed Aug 17, 2018
1 parent 1a12da9 commit 7c94891a7634707a2976ef80dcd8492b6dac8609
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/qz/auth/Certificate.java
@@ -294,7 +294,7 @@ private boolean existsInFile(File file) {
try(BufferedReader br = new BufferedReader(new FileReader(file))) {
String line;
while((line = br.readLine()) != null) {
if (!line.isEmpty()) {
if (line.contains("\t")) {
String print = line.substring(0, line.indexOf("\t"));
if (print.equals(getFingerprint())) {
return true;

0 comments on commit 7c94891

Please sign in to comment.