Skip to content

Commit

Permalink
[enigma_python.i] Fix ImportError: cannot import name 'isFBCLink' fro…
Browse files Browse the repository at this point in the history
…m 'enigma'
  • Loading branch information
fairbird committed Jan 5, 2025
1 parent 2e9e439 commit 96d3bfa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/python/enigma_python.i
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,16 @@ void setFCCEnable(int enable)
}
%}
bool isFBCLink(int);
%{
bool isFBCLink(int fe)
{
eFBCTunerManager *mgr = eFBCTunerManager::getInstance();
if (mgr) return mgr->IsFBCLink(fe);
return -1;
}
%}
PyObject *getFontFaces();
%{
PyObject *getFontFaces()
Expand Down

0 comments on commit 96d3bfa

Please sign in to comment.