summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/misc.py')
-rw-r--r--module/plugins/internal/misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py
index 50b9ec641..ed5fb8693 100644
--- a/module/plugins/internal/misc.py
+++ b/module/plugins/internal/misc.py
@@ -379,7 +379,7 @@ def encode(value, encoding='utf-8', errors='backslashreplace'):
if encoding == decoding:
res = value
else:
- res = transcode(decoding, encoding)
+ res = transcode(value, decoding, encoding)
else:
res = str(value)