Skip to content

Commit c5a7333

Browse files
committed
Fix FmOpenInExplorer command
This commit fixes a regression with the FmOpenInExplorerCommand, which was caused by using the `splitext` function instead of `split`.
1 parent 288dac4 commit c5a7333

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

commands/open_in_explorer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def run(self, visible_on_platforms=None, paths=None):
1313
if os.path.isdir(path):
1414
self.window.run_command("open_dir", {"dir": path})
1515
else:
16-
dirname, basename = os.path.splitext(path)
16+
dirname, basename = os.path.split(path)
1717
self.window.run_command(
1818
"open_dir", {"dir": dirname, "file": basename},
1919
)

0 commit comments

Comments
 (0)