do not add tags Cyrillic deluge 1.3.5

General support for problems installing or using Deluge
Post Reply
slo_nik
New User
New User
Posts: 2
Joined: Mon Sep 16, 2013 7:39 pm

do not add tags Cyrillic deluge 1.3.5

Post 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?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: do not add tags Cyrillic deluge 1.3.5

Post by Cas »

It is mentioned that the plugin only accepts a-z letters.
slo_nik
New User
New User
Posts: 2
Joined: Mon Sep 16, 2013 7:39 pm

Re: do not add tags Cyrillic deluge 1.3.5

Post 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!
Post Reply