mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-06-08 08:29:22 +00:00
remove redundant space
This commit is contained in:
parent
5b77ad8b39
commit
ce6bc72b29
|
@ -39,7 +39,6 @@ impl Settings {
|
|||
/// Warning: Only call this once.
|
||||
pub(crate) fn init() -> Result<Self, LemmyError> {
|
||||
let config = from_str::<Settings>(&Self::read_config_file()?)?;
|
||||
|
||||
if config.hostname == "unset" {
|
||||
Err(anyhow!("Hostname variable is not set!").into())
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue