using an import incorrectly
This commit is contained in:
parent
ab4b0823b6
commit
25c4ba4b97
|
@ -1,5 +1,5 @@
|
|||
use async_std;
|
||||
use log::{self, info};
|
||||
use log;
|
||||
use mastodon_async::entities::visibility::Visibility;
|
||||
use mastodon_async::helpers::{cli, toml as masto_toml};
|
||||
use mastodon_async::prelude::*;
|
||||
|
@ -177,7 +177,7 @@ fn set_url_as_posted(config: &Config, url: &String) -> DynResult<()> {
|
|||
.append(true) // This is needed to append to file
|
||||
.open(&config.files.posted)?; //.expect("Cannot open posted file"); // Maybe we should retry just in case
|
||||
write!(file, "{}\n", url)?; //.expect("Cannot write to posted file"); // maybe we should retry tbh
|
||||
info!("Set url {} as posted", url);
|
||||
log::info!("Set url {} as posted", url);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue