Browse Source

mod: remove function call and tool.

master
Alastair Poole 1 year ago
parent
commit
035ded6508
  1. 14
      images/a.pl
  2. 2
      src/e_mod_main.c

14
images/a.pl

@ -1,14 +0,0 @@
#!/usr/bin/perl
sub main()
{
opendir(my $dir, '.');
while (readdir $dir) {
if ($_ =~ m{.*\.png}) {
print "FORECASTS_ICON(\"$_\", 10, 10, 110, 110, 1.0);\n";
}
}
closedir($dir);
}
main();

2
src/e_mod_main.c

@ -798,7 +798,7 @@ _forecasts_parse(void *data)
snprintf(inst->forecast[idx].code, sizeof(inst->condition.code), "%s", code);
}
days_prev = _epoch_days(tm_data);
days_prev = days;
}
json_object_put(o_root);

Loading…
Cancel
Save