Commit 5be920ac authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: Fix inverted logic for logs

parent ba4c6a91
......@@ -373,7 +373,7 @@ MediaPtr MediaLibrary::media( const std::string& mrl ) const
if ( file == nullptr )
{
LOG_WARN( "Failed to fetch file for ", mrl, " (device ", device->uuid(), " was ",
device->isRemovable() ? "NOT" : "", "removable)");
device->isRemovable() ? "" : "NOT ", "removable)");
return nullptr;
}
return file->media();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment