diff --git a/mounter.py b/mounter.py index 905b5e6..6fb3fe6 100644 --- a/mounter.py +++ b/mounter.py @@ -20,8 +20,7 @@ class mount(Command): """ Show menu to mount and unmount """ (f, p) = tempfile.mkstemp() os.close(f) - self.fm.execute_console( - f"shell python3 ~/.config/ranger/ranger_udisk_menu/menu.py {p}") + self.fm.execute_console(f"shell python3 {os.getcwd()}/menu.py {p}") with open(p, 'r') as f: d = f.readline() if os.path.exists(d):