fix for npe

pull/1/head
orbiter 12 years ago
parent 268a36aaff
commit 87cfeaa4f3

@ -149,7 +149,7 @@ public class migration {
}
}
public static void migrateBookmarkTagsDB(final Switchboard sb){
sb.bookmarksDB.close();
if (sb.bookmarksDB != null) sb.bookmarksDB.close();
final File tagsDBFile=new File(sb.workPath, "bookmarkTags.db");
if(tagsDBFile.exists()){
delete(tagsDBFile);

Loading…
Cancel
Save