Browse Source

Merge pull request #6 from glensc/patch-1

Update plat_other.py
tags/1.3.1
Virgil Dupras 5 years ago
parent
commit
7cbefa4317
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      send2trash/plat_other.py

+ 1
- 1
send2trash/plat_other.py View File

@@ -48,7 +48,7 @@ def format_date(date):
return date.strftime("%Y-%m-%dT%H:%M:%S")

def info_for(src, topdir):
# ...it MUST not include a ".."" directory, and for files not "under" that
# ...it MUST not include a ".." directory, and for files not "under" that
# directory, absolute pathnames must be used. [2]
if topdir is None or not is_parent(topdir, src):
src = op.abspath(src)


Loading…
Cancel
Save