Skip to content

Commit

Permalink
don't skip bot games (why was this even here??)
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoBSalgueiro committed Feb 14, 2024
1 parent 10a49ba commit 7b1ade7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src-tauri/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,6 @@ impl Visitor for Importer {
self.game.date = Some(String::from_utf8_lossy(value.as_bytes()).to_string());
} else if key == b"UTCTime" {
self.game.time = Some(String::from_utf8_lossy(value.as_bytes()).to_string());
} else if key == b"WhiteTitle" || key == b"BlackTitle" {
if value.as_bytes() == b"BOT" {
self.skip = true;
}
} else if key == b"Site" {
self.game.site_name = Some(String::from_utf8_lossy(value.as_bytes()).to_string());
} else if key == b"Event" {
Expand Down

0 comments on commit 7b1ade7

Please sign in to comment.