This commit is contained in:
Yuri Trikoz
2020-06-25 07:08:09 +03:00
parent b50e1c9791
commit 5ed1c23c62
3 changed files with 8 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ static const char* MODULE = "Widget";
const String getWidgetFile(const String& name);
bool loadWidget(const String& filename, String& buf) {
buf = readFile(filename, 2048);
buf = readFile(getWidgetFile(filename), 2048);
bool res = !(buf == "Failed" || buf == "Large");
if (!res) {
pm.error("on load" + filename);