From bcdca8fbc8901fc1e327ef534eb6f86e82bf77f5 Mon Sep 17 00:00:00 2001
From: GammaC0de <GammaC0de@users.noreply.github.com>
Date: Tue, 29 Dec 2015 02:59:39 +0200
Subject: [misc] fix fsjoin

---
 module/plugins/internal/misc.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'module')

diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py
index 2cd843109..80c91bf24 100644
--- a/module/plugins/internal/misc.py
+++ b/module/plugins/internal/misc.py
@@ -32,7 +32,7 @@ except ImportError:
 class misc(object):
     __name__    = "misc"
     __type__    = "plugin"
-    __version__ = "0.11"
+    __version__ = "0.12"
     __status__  = "stable"
 
     __pattern__ = r'^unmatchable$'
@@ -421,7 +421,7 @@ def fsjoin(*args):
     Like os.path.join, but encoding aware
     (for safe-joining see `safejoin`)
     """
-    return encode(os.path.join(args))
+    return encode(os.path.join(*args))
 
 
 def remove_chars(value, repl):
-- 
cgit v1.2.3