Merge pull request #20 from benshep/patch-1
Corrected assumed 'utf-8' encoding
This commit is contained in:
commit
7cf1577be7
@ -186,7 +186,7 @@ class Bitrot(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
for p in paths:
|
for p in paths:
|
||||||
p_uni = p.decode('utf8')
|
p_uni = p.decode(FSENCODING)
|
||||||
try:
|
try:
|
||||||
st = os.stat(p)
|
st = os.stat(p)
|
||||||
except OSError as ex:
|
except OSError as ex:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user