mirror of
https://github.com/tonytins/staggerpost.git
synced 2025-07-05 22:30:29 -04:00
Fixed JSON error
- If JSON file doesn't exist, write one that does and add brackets. - Trim any white space in the values
This commit is contained in:
parent
ac1d3862c6
commit
2dd63ccba0
2 changed files with 18 additions and 13 deletions
|
@ -10,7 +10,7 @@ public class Config
|
|||
/// <summary>
|
||||
/// Gets or sets the name of the schedule file.
|
||||
/// </summary>
|
||||
public string File { get; set; } = "schedule.txt";
|
||||
public string File { get; set; } = "schedule.json";
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the directory path where the schedule file is stored.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue