diff options
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/Plugin.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 5607b8331..482bb0e45 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -38,7 +38,7 @@ if os.name != "nt":  from itertools import islice -from module.utils import save_join, decode +from module.utils import save_join, decode, removeChars  def chunks(iterable, size):    it = iter(iterable) @@ -351,7 +351,7 @@ class Plugin(object):          name = self.pyfile.name          if os_name == 'nt':              #delete illegal characters -            name = name.translate(None, '/\\?%*:|"<>') +            name = removeChars(name, '/\\?%*:|"<>')          filename = save_join(location, name)          try: | 
