import env on non windows systems
This commit is contained in:
parent
5de3ce2fb1
commit
e8b626599e
@ -1,5 +1,4 @@
|
||||
use std::{
|
||||
env,
|
||||
ffi::OsStr,
|
||||
fs::{self, metadata},
|
||||
io::{BufRead, BufReader, Error},
|
||||
@ -10,6 +9,9 @@ use std::{
|
||||
time::{self, UNIX_EPOCH},
|
||||
};
|
||||
|
||||
#[cfg(not(windows))]
|
||||
use std::env;
|
||||
|
||||
use chrono::{prelude::*, Duration};
|
||||
use ffprobe::{ffprobe, Format, Stream};
|
||||
use jsonrpc_http_server::hyper::HeaderMap;
|
||||
|
Loading…
Reference in New Issue
Block a user