mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
py3: make linux file deletion work
This commit is contained in:
parent
8b75374b4b
commit
39ad9795b9
@ -66,7 +66,7 @@ def info_for(src, topdir):
|
||||
info = "[Trash Info]\n"
|
||||
info += "Path=" + uniquote(src) + "\n"
|
||||
info += "DeletionDate=" + format_date(datetime.now()) + "\n"
|
||||
return info
|
||||
return info.encode('utf-8')
|
||||
|
||||
|
||||
def check_create(dir):
|
||||
|
Loading…
x
Reference in New Issue
Block a user