mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 01:13:41 +02:00
Also allow .cmd files in open with
This commit is contained in:
parent
db97e7ca3d
commit
6dba8ca536
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ def choose_manually(filetype, parent):
|
|||
ans = choose_files(
|
||||
parent, 'choose-open-with-program-manually-win',
|
||||
_('Choose a program to open %s files') % filetype.upper(),
|
||||
filters=[(_('Executable files'), ['exe', 'bat', 'com'])], select_only_single_file=True)
|
||||
filters=[(_('Executable files'), ['exe', 'bat', 'com', 'cmd'])], select_only_single_file=True)
|
||||
if ans:
|
||||
ans = os.path.abspath(ans[0])
|
||||
if not os.access(ans, os.X_OK):
|
||||
|
|
|
|||
Loading…
Reference in a new issue