1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2026-03-18 13:11:39 +00:00

Black format updates with correct line length

This commit is contained in:
2021-08-17 18:58:11 -05:00
parent 24079e245c
commit d0e4890a4d
10 changed files with 27 additions and 105 deletions

View File

@@ -18,10 +18,7 @@ def check_op_result(op_result):
def send2trash(paths):
paths = preprocess_paths(paths)
paths = [
path.decode("utf-8") if not isinstance(path, text_type) else path
for path in paths
]
paths = [path.decode("utf-8") if not isinstance(path, text_type) else path for path in paths]
for path in paths:
file_url = NSURL.fileURLWithPath_(path)
fm = NSFileManager.defaultManager()