mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
084e9cd755
commit
edefce2c78
@ -65,11 +65,7 @@ def validate_source(source, parent=None): # {{{
|
||||
|
||||
|
||||
def resolve_windows_links(paths, hwnd=None):
|
||||
try:
|
||||
from calibre_extensions.winutil import resolve_lnk
|
||||
except ImportError:
|
||||
def resolve_lnk(x, *a):
|
||||
return x
|
||||
for x in paths:
|
||||
if x.lower().endswith('.lnk'):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user