From 6df61c304b4655ec43fb6bc9070ef608552410f5 Mon Sep 17 00:00:00 2001 From: Suguivy Date: Thu, 23 Feb 2023 08:24:00 +0100 Subject: [PATCH] bap --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8290256..61d82da 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use std::{ process::Command, }; -const LEGEND: &str = "[q]uit, [d]elete, [a]ccept"; +const LEGEND: &str = "[q]uit, [d]elete, [b][a]p"; const PENDING: &str = "./pending.csv"; const REJECTED: &str = "./rejected.csv"; const VERIFIED: &str = "./verified.csv"; @@ -149,7 +149,7 @@ fn input_parse(image_uri: &str) -> bool { .next() .unwrap_or('n'); match key { - 'a' => { + 'b' | 'a' => { let mut file = std::fs::OpenOptions::new() .write(true) .append(true) // This is needed to append to file