This commit is contained in:
Suguivy 2023-02-23 08:24:00 +01:00
parent dcee9c1473
commit 6df61c304b
1 changed files with 2 additions and 2 deletions

View File

@ -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