Rev 8566 | Rev 8589 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8566 | Rev 8586 | ||
---|---|---|---|
Line 226... | Line 226... | ||
226 | end_draw(); |
226 | end_draw(); |
227 | } |
227 | } |
Line 228... | Line 228... | ||
228 | 228 | ||
229 | void get_config(char **City, char **Token, char **Units) // Загружаем конфиг |
229 | void get_config(char **City, char **Token, char **Units) // Загружаем конфиг |
230 | { |
230 | { |
231 | FILE *config_j = fopen("weather.json", "rb"); |
231 | FILE *config_j = fopen("/sys/Settings/weather.json", "rb"); |
232 | if(config_j==NULL){ |
232 | if(config_j==NULL){ |
233 | notify_show("'Configuration file not found!' -E"); |
233 | notify_show("'Configuration file not found!' -E"); |
234 | exit(0); |
234 | exit(0); |
235 | } |
235 | } |