1
0
mirror of https://github.com/pcvolkmer/osc-variant.git synced 2025-04-19 11:46:50 +00:00

Code cleanup

This commit is contained in:
Paul-Christian Volkmer 2023-11-23 10:07:26 +01:00
parent f3bbef5d22
commit 2808cc3556

View File

@ -160,7 +160,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let data = &mut read_inputfile(inputfile)?;
if let Some(profile) = profile {
let profile = if profile.contains(".") {
let profile = if profile.contains('.') {
read_profile(profile.clone()).map_err(|_| {
FileError::Reading(profile, "Kann Profildatei nicht lesen!".into())
})?