mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-10-01 05:22:38 +02:00
Enable provider
This commit is contained in:
@@ -321,7 +321,7 @@ class ProviderEnableManager:
|
||||
|
||||
result[provider_name] = {
|
||||
"enabled": enabled,
|
||||
"source": source.value,
|
||||
"source": source.value, # Convert enum to string
|
||||
"can_modify": source != EnableSource.KODI
|
||||
}
|
||||
|
||||
@@ -348,7 +348,7 @@ class ProviderEnableManager:
|
||||
return {
|
||||
"provider": provider_name,
|
||||
"enabled": enabled,
|
||||
"source": source.value,
|
||||
"source": source.value, # Convert enum to string
|
||||
"can_modify": source != EnableSource.KODI,
|
||||
"in_file": True
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user