mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
* fixes #1169 * consolidate trim Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com> Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
This commit is contained in:
@@ -351,7 +351,9 @@ impl TorControllerInner {
|
|||||||
.get_info("onions/current")
|
.get_info("onions/current")
|
||||||
.await?
|
.await?
|
||||||
.lines()
|
.lines()
|
||||||
.map(|l| l.trim().parse().with_kind(ErrorKind::Tor))
|
.map(|l| l.trim())
|
||||||
|
.filter(|l| !l.is_empty())
|
||||||
|
.map(|l| l.parse().with_kind(ErrorKind::Tor))
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user