mirror of
https://github.com/gryf/mc_adbfs.git
synced 2025-12-18 12:00:19 +01:00
Removed deprecated encoding argument from json.loads.
This commit is contained in:
2
adbfs
2
adbfs
@@ -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