Removed unnecessary lines
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user