config: catch FileNotFoundException and create config

This commit is contained in:
Hylke Bons 2011-10-29 14:27:53 +01:00
parent 14be68fef8
commit 337194538d

View file

@ -73,6 +73,9 @@ namespace SparkleLib {
} catch (IOException) {
CreateInitialConfig ();
} catch (FileNotFoundException) {
CreateInitialConfig ();
} catch (XmlException) {
FileInfo file = new FileInfo (FullPath);