|
a/src/mediaserver/cdplugins/uprcl/uprclsearch.py |
|
b/src/mediaserver/cdplugins/uprcl/uprclsearch.py |
|
... |
|
... |
15 |
# You should have received a copy of the GNU General Public License
|
15 |
# You should have received a copy of the GNU General Public License
|
16 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
from __future__ import print_function
|
17 |
from __future__ import print_function
|
18 |
|
18 |
|
19 |
import re
|
19 |
import re
|
20 |
|
|
|
21 |
import uprclfolders
|
20 |
import uprclfolders
|
22 |
from uprclutils import *
|
|
|
23 |
from recoll import recoll
|
21 |
from recoll import recoll
|
|
|
22 |
|
|
|
23 |
from uprclutils import uplog, stringToStrings, rcldoctoentry, cmpentries
|
24 |
|
24 |
|
25 |
def _getchar(s, i):
|
25 |
def _getchar(s, i):
|
26 |
if i < len(s):
|
26 |
if i < len(s):
|
27 |
return i+1,s[i]
|
27 |
return i+1,s[i]
|
28 |
else:
|
28 |
else:
|