From fab3e0978ea3523d3bcb22af7a5794b763836e82 Mon Sep 17 00:00:00 2001 From: ohad Date: Thu, 8 Jul 2021 16:38:24 +0300 Subject: [PATCH] fd is 'str', not 'bytes' --- pymobiledevice3/services/afc.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pymobiledevice3/services/afc.py b/pymobiledevice3/services/afc.py index 7d11eaf9..d58ae464 100755 --- a/pymobiledevice3/services/afc.py +++ b/pymobiledevice3/services/afc.py @@ -389,7 +389,6 @@ def walk(self, dirname): dirs = [] files = [] for fd in self.listdir(dirname): - fd = fd.decode('utf-8') if fd in ('.', '..', ''): continue infos = self.stat(posixpath.join(dirname, fd))