using an import incorrectly

This commit is contained in:
Alie 2024-01-26 18:53:26 +01:00
parent ab4b0823b6
commit 25c4ba4b97
1 changed files with 2 additions and 2 deletions

View File

@ -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);