Revize a53b1de8
Přidáno uživatelem Alex Konig před více než 3 roky(ů)
Server/ServerApp/Parser/Parsers/LogInParser.cs | ||
---|---|---|
77 | 77 |
{ |
78 | 78 |
List<ActivityInfo> loginInfo = new List<ActivityInfo>(); |
79 | 79 |
|
80 |
if (!File.Exists(path)) |
|
81 |
return loginInfo; |
|
82 |
|
|
83 | 80 |
List<LogInInstance> list = loader.LoadLoginFile(path); |
81 |
if (list == null) |
|
82 |
return loginInfo; |
|
84 | 83 |
|
85 | 84 |
// data for each faculty |
86 | 85 |
int[] recordedAmount = new int[TagInfo.buildings.Length]; |
... | ... | |
161 | 160 |
{ |
162 | 161 |
List<ActivityInfo> loginInfo = new List<ActivityInfo>(); |
163 | 162 |
|
164 |
if (!File.Exists(path)) |
|
165 |
return loginInfo; |
|
166 |
|
|
167 | 163 |
List<LogInInstance> list = loader.LoadLoginFile(path); |
164 |
if (list == null) |
|
165 |
return loginInfo; |
|
168 | 166 |
|
169 | 167 |
// min/max hour taken into account |
170 | 168 |
int[] minmaxHour = new int[] { 7, 18 }; |
Také k dispozici: Unified diff
re #8933 Testing DataParser, JisParser and WeatherParser