From 307ebeabe4a13168328006ca82279f3231b6fd23 Mon Sep 17 00:00:00 2001 From: zsxh Date: Sat, 10 Oct 2020 16:34:12 +0800 Subject: [PATCH] fix(config_dir): add the trailing slash if it's not already there --- eaf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eaf.py b/eaf.py index 5e02214..0e5ab6d 100755 --- a/eaf.py +++ b/eaf.py @@ -52,7 +52,7 @@ class EAF(dbus.service.Object): (emacs_width, emacs_height, proxy_host, proxy_port, proxy_type, config_dir, var_dict_string) = args emacs_width = int(emacs_width) emacs_height = int(emacs_height) - eaf_config_dir = os.path.expanduser(config_dir) + eaf_config_dir = os.path.join(os.path.expanduser(config_dir), '') self.buffer_dict = {} self.view_dict = {}