Skip to content

Commit

Permalink
Update 0kb issue try catch function added
Browse files Browse the repository at this point in the history
  • Loading branch information
Cale-Torino committed Sep 22, 2021
1 parent 02bc12c commit cf8c82a
Show file tree
Hide file tree
Showing 42 changed files with 4 additions and 2,810 deletions.
Binary file modified WPF/.vs/FreeTAKServer_Manager_WPF/v16/.suo
Binary file not shown.
4 changes: 2 additions & 2 deletions WPF/FreeTAKServer_Manager_WPF/Forms/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private void StartServer()
string nullkb_init = Properties.Settings.Default.Pythondir + @"Lib\site-packages\FreeTAKServer-UI\__init__.py";
if (Directory.Exists(Path.GetDirectoryName(configfile)) && Directory.Exists(Path.GetDirectoryName(MainConfigfile)))
{
//del 0kb file
//del 0kb file if it exists
FileInfo file = new FileInfo(nullkb_init);
if (Directory.Exists(Path.GetDirectoryName(nullkb_init)))
{
Expand All @@ -207,7 +207,7 @@ private void StartServer()
File.Delete(nullkb_init);
}
}
catch (Exception ex)
catch (Exception)
{
//do nothing
}
Expand Down
Binary file not shown.

This file was deleted.

Binary file not shown.
300 changes: 0 additions & 300 deletions WPF/FreeTAKServer_Manager_WPF/bin/Debug/MainConfig.py

This file was deleted.

Loading

0 comments on commit cf8c82a

Please sign in to comment.