bap
This commit is contained in:
parent
dcee9c1473
commit
6df61c304b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue