mirror of
https://github.com/gryf/mc_adbfs.git
synced 2026-10-08 04:02:29 +02:00
Removed deprecated encoding argument from json.loads.
This commit is contained in:
1 parent
d16f0f06b8
commit
b1a6219d21
1 file changed
+1
-1
@@ -205,7 +205,7 @@ class Conf(object):
|
||||
pass
|
||||
|
||||
if self.dirs_to_skip and isinstance(self.dirs_to_skip, str):
|
||||
self.dirs_to_skip = json.loads(self.dirs_to_skip, encoding='ascii')
|
||||
self.dirs_to_skip = json.loads(self.dirs_to_skip)
|
||||
self.dirs_to_skip = [x.encode('utf-8') for x in self.dirs_to_skip]
|
||||
else:
|
||||
self.dirs_to_skip = []
|
||||
|
||||
Reference in new issue
Block a user