We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f747eb7 commit cfaa915Copy full SHA for cfaa915
winpython/associate.py
@@ -15,6 +15,7 @@
15
import sys
16
import os
17
import os.path as osp
18
+from pathlib import Path
19
import subprocess
20
21
@@ -42,7 +43,8 @@ def _get_shortcut_data(target, current=True):
42
43
wpgroup = utils.create_winpython_start_menu_folder(
44
current=current
45
)
- wpdir = osp.join(target, os.pardir)
46
+ # wpdir = osp.join(target, os.pardir)
47
+ wpdir = str(Path(target).parent)
48
data = []
49
for name in os.listdir(wpdir):
50
bname, ext = osp.splitext(name)
0 commit comments