Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
vDeggial committed Nov 27, 2014
1 parent db0a94b commit ddeef97
Show file tree
Hide file tree
Showing 4 changed files with 321 additions and 270 deletions.
2 changes: 1 addition & 1 deletion Tumbl Tool/Common Helpers/FileHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static List<string> getImageListFromDir(string location)

public static string findFile(string dir, string name)
{
return Directory.GetFiles(@dir, name + ".*").First();
return Directory.GetFiles(@dir, name + ".*").FirstOrDefault();
}

public static bool isFileInUse(FileInfo file)
Expand Down
Loading

0 comments on commit ddeef97

Please sign in to comment.