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:
parent
f3bbef5d22
commit
2808cc3556
@ -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())
|
||||
})?
|
||||
|
Loading…
x
Reference in New Issue
Block a user