mirror of
https://github.com/LinoSchmidt/StickExporterTX.git
synced 2026-03-21 01:51:15 +01:00
Fixed Profile not found error
This commit is contained in:
@@ -377,8 +377,8 @@ function getActiveProfile() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if(activeProfile === undefined) {
|
if(activeProfile === undefined) {
|
||||||
activeProfile = settingList.profiles[0];
|
activeProfile = defaultSettings.profiles[0];
|
||||||
logger.errorMSG("Active profile not found, using default profile");
|
logger.error("Active profile not found, using default profile");
|
||||||
}
|
}
|
||||||
|
|
||||||
return activeProfile;
|
return activeProfile;
|
||||||
|
|||||||
Reference in New Issue
Block a user