ldanilov / bots

Automatically exported from code.google.com/p/bots
0 stars 1 forks source link

make plugin with scriptfiles but not charsets does not exclude charsets (windows only) #317

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In plugout_files() the constant u'usersys/charsets' is used.
On windows this needs to be u'usersys\\charsets' or else 
files2return.index(charset) always fails and the charset files are always 
included in the plugin.

Solution is to use os.path.join(u'usersys',u'charsets')

(note: attached pluglib.py contains other changes too; plugin filtering, key 
fields first in botsindex)

Original issue reported on code.google.com by mjg1964 on 12 Feb 2015 at 11:26

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by mjg1964 on 13 Feb 2015 at 3:54

GoogleCodeExporter commented 9 years ago

Original comment by hjebb...@gmail.com on 25 Mar 2015 at 6:41