Removed unnecessary lines
parent
fe66ff977a
commit
5a027fa538
|
@ -10,7 +10,6 @@ extern crate tokio_core;
|
|||
|
||||
use std::env;
|
||||
use std::io::{self, BufRead, Read, Result};
|
||||
use std::io::Write;
|
||||
use std::process::{Command, Stdio};
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::time::Duration;
|
||||
|
@ -56,7 +55,6 @@ fn main() {
|
|||
.for_each(|id|{
|
||||
info!("Getting track {}...", id.to_base62());
|
||||
let fname = format!("{}.ogg", id.to_base62());
|
||||
let pathexists = std::path::Path::new(&fname).exists();
|
||||
use std::path::Path;
|
||||
if !Path::new(&fname).exists() {
|
||||
info!("File {} already exists... Skipping...", id.to_base62());
|
||||
|
|
Loading…
Reference in New Issue