Quote:
Originally Posted by neil_swann80
The plugin will need updating to check the current active profile rather than assuming default.
|
Like that:
Code:
function PocketbookSync:getProfilId()
local file = io.open("/mnt/ext1/system/profiles/.current", "r")
if file then
local content = file:read("*all")
file:close()
local profileId = tonumber(content)
if profileId then
return profileId
else
return 1
end
else
return 1
end
end