Skip to content

Commit a761ec8

Browse files
committed
Check file exists
1 parent 6d5b95c commit a761ec8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ protected List<Bookmark> GetBookmarksFromPath(string placesPath)
101101
// Delete temporary file
102102
try
103103
{
104-
File.Delete(tempDbPath);
104+
if (File.Exists(tempDbPath))
105+
{
106+
File.Delete(tempDbPath);
107+
}
105108
}
106109
catch (Exception ex)
107110
{

0 commit comments

Comments
 (0)