1
0
şunun yansıması https://github.com/arsenetar/send2trash.git eşitlendi 2025-09-11 18:08:16 +00:00

Fix issue with paths starting with \\?\

- Strip these characters off if present just like old implementation
Bu işleme şunda yer alıyor:
Andrew Senetar 2020-05-21 22:28:26 -05:00
ebeveyn 7abc048836
işleme 629c2403e9
İmzalayan: arsenetar
GPG Anahtar Kimliği: C63300DCE48AB2F1

Dosyayı Görüntüle

@ -25,6 +25,8 @@ try:
]
# convert to full paths
path = [op.abspath(item) if not op.isabs(item) else item for item in path]
# remove the leading \\?\ if present
path = [item[4:] for item in path if item.startswith("\\\\?\\")]
# create instance of file operation object
fileop = pythoncom.CoCreateInstance(
shell.CLSID_FileOperation,