Skip to content

Commit

Permalink
我再修……
Browse files Browse the repository at this point in the history
  • Loading branch information
XAS-712 committed Feb 10, 2019
1 parent 0baef13 commit 543c45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MifareOneTool/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void default_rpt(object sender, ProgressChangedEventArgs e)
if (File.Exists(omfd) && new FileInfo(omfd).Length > 1)
{
Directory.CreateDirectory("auto_keys");
string filename = "auto_keys\\" + lastuid + "_" + DateTime.Now.ToString() + ".mfd";
string filename = "auto_keys\\" + lastuid + "_" + DateTime.Now.ToString().Replace("/","-").Replace(" ","_").Replace(":","-") + ".mfd";
if (File.Exists(filename))
{
File.Delete(filename);
Expand Down

0 comments on commit 543c45b

Please sign in to comment.