mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-29 22:53:11 +02:00
py3: make linux file deletion work
This commit is contained in:
parent
8b75374b4b
commit
39ad9795b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue