Skip to content

Commit

Permalink
Merge pull request #94 from doronz88/bugfix/afc_walk_bug
Browse files Browse the repository at this point in the history
fd is 'str', not 'bytes'
  • Loading branch information
doronz88 authored Jul 8, 2021
2 parents 10c84cc + fab3e09 commit 13a8e26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pymobiledevice3/services/afc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 13a8e26

Please sign in to comment.