Fix issue with dbg function

This commit is contained in:
Ferran Basora 2021-01-15 19:00:59 +00:00
parent 53fdaa341c
commit e8e147c42e

View File

@ -46,6 +46,8 @@ const TMP_FILE: &str = "/tmp/thumbs-last";
#[allow(dead_code)]
fn dbg(msg: &str) {
let mut file = std::fs::OpenOptions::new()
.create(true)
.write(true)
.append(true)
.open("/tmp/thumbs.log")
.expect("Unable to open log file");