aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-17 12:08:13 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-17 12:08:13 +0000
commit16d98d9753198d9c654f18351f42131dc74516e1 (patch)
treeb836052c1f92c2a3029494976a22aec4c2f44de3 /Source/SPAppController.m
parentaa818d39f3437acdc28661700a4b0e5de8096815 (diff)
downloadsequelpro-16d98d9753198d9c654f18351f42131dc74516e1.tar.gz
sequelpro-16d98d9753198d9c654f18351f42131dc74516e1.tar.bz2
sequelpro-16d98d9753198d9c654f18351f42131dc74516e1.zip
• further work on Bundle Editor
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index c3698db0..430587a0 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -872,7 +872,7 @@
if(bundlePath) {
NSError *error = nil;
NSArray *foundBundles = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:bundlePath error:&error];
- if (foundBundles && [foundBundles count]) {
+ if (foundBundles && [foundBundles count] && error == nil) {
for(NSString* bundle in foundBundles) {
if(![[[bundle pathExtension] lowercaseString] isEqualToString:[SPUserBundleFileExtension lowercaseString]]) continue;