Commit ddc48247 authored by Felix Paul Kühne's avatar Felix Paul Kühne

shared library: pick the correct mom

parent 2fdf91f7
......@@ -125,7 +125,7 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
if (_managedObjectModel)
return _managedObjectModel;
NSString *path = [[NSBundle mainBundle] pathForResource:@"MediaLibrary-2.5" ofType:@"mom"];
NSString *path = [[NSBundle mainBundle] pathForResource:@"MediaLibrary" ofType:@"momd"];
NSURL *momURL = [NSURL fileURLWithPath:path];
_managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:momURL];
......
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