This commit is contained in:
Paddy Xu
2017-08-06 15:06:55 +03:00
parent 768425ad0f
commit 3a20245304
41 changed files with 427 additions and 607 deletions

View File

@@ -34,10 +34,7 @@ namespace QuickLook.Plugin.CsvViewer
public bool CanHandle(string path)
{
if (Directory.Exists(path))
return false;
return Path.GetExtension(path).ToLower() == ".csv";
return !Directory.Exists(path) && path.ToLower().EndsWith(".csv");
}
public void Prepare(string path, ContextObject context)