Lower restrictions when parsing json-files (needed for Schoenau, as there are no special days.)
This commit is contained in:
parent
1c13a705c8
commit
10b018a338
@ -58,10 +58,10 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
|
||||
|| !document.HasMember("PaymentMethod")
|
||||
|| !document.HasMember("PaymentOption")
|
||||
|| !document.HasMember("PaymentRate")
|
||||
|| !document.HasMember("Duration")
|
||||
|| !document.HasMember("Duration"))
|
||||
//|| !document.HasMember("WeekDays")
|
||||
|| !document.HasMember("SpecialDaysWorktime")
|
||||
|| !document.HasMember("SpecialDays"))
|
||||
//|| !document.HasMember("SpecialDaysWorktime")
|
||||
//|| !document.HasMember("SpecialDays"))
|
||||
{
|
||||
printf("%s", "Error: not a valid configuration JSON\n");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user