diff options
Diffstat (limited to 'src/utils.rs')
-rw-r--r-- | src/utils.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.rs b/src/utils.rs index d75971a..26facc4 100644 --- a/src/utils.rs +++ b/src/utils.rs | |||
@@ -26,7 +26,7 @@ pub fn read_filearg_to_str(file: &str) -> Result<String, Error> { | |||
26 | 26 | ||
27 | let mut buffer = String::new(); | 27 | let mut buffer = String::new(); |
28 | if file == "-" { | 28 | if file == "-" { |
29 | info!("Reading file from the command line"); | 29 | debug!("Reading file from the command line"); |
30 | let stdin = io::stdin(); | 30 | let stdin = io::stdin(); |
31 | let mut handle = stdin.lock(); | 31 | let mut handle = stdin.lock(); |
32 | handle.read_to_string(&mut buffer)?; | 32 | handle.read_to_string(&mut buffer)?; |
@@ -38,7 +38,7 @@ pub fn read_filearg_to_str(file: &str) -> Result<String, Error> { | |||
38 | } | 38 | } |
39 | 39 | ||
40 | pub fn read_filter_from_arg(file: &str) -> Result<Filter, Error> { | 40 | pub fn read_filter_from_arg(file: &str) -> Result<Filter, Error> { |
41 | debug!("Reading filter from '{}' in the EqualizerAPO format", file); | 41 | info!("Reading filter from '{}' in the EqualizerAPO format", file); |
42 | let content = read_filearg_to_str(file)?; | 42 | let content = read_filearg_to_str(file)?; |
43 | parse_filter(&content) | 43 | parse_filter(&content) |
44 | } | 44 | } |