Page 1 of 1

do not add tags Cyrillic deluge 1.3.5

Posted: Mon Sep 16, 2013 7:45 pm
by slo_nik
good evening
I can not create a label in Cyrillic deluge 1.3.5
trying to do here as http://forum.deluge-torrent.org/viewtop ... dd#p159761 (https://bugs.launchpad.net/ubuntu/+sour ... bug/854648)
that does not happen, the labels are not created
how to solve the problem?

Re: do not add tags Cyrillic deluge 1.3.5

Posted: Tue Sep 17, 2013 3:35 pm
by Cas
It is mentioned that the plugin only accepts a-z letters.

Re: do not add tags Cyrillic deluge 1.3.5

Posted: Tue Sep 17, 2013 6:26 pm
by slo_nik
problem was solved
edited plugin file Label-0.2.egg core.py
replace the line

Code: Select all

RE_VALID = re.compile("[a-z0-9_\-\.]*\Z")
on

Code: Select all

RE_VALID = re.compile("[а-яa-z0-9_\-\.]*")
add the first line of the file

Code: Select all

# -*- coding: utf-8 -*-
it is now possible to create a label in Cyrillic

p.s. Developers, take note of this!