From b1a6219d210fb13793e925dfa6df51a390ce97f6 Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 7 Dec 2020 19:08:29 +0100 Subject: [PATCH] Removed deprecated encoding argument from json.loads. --- adbfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adbfs b/adbfs index 34c2e2d..7623b7c 100755 --- a/adbfs +++ b/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 = []