From 86aa261d0553b15fafa57fd571462e9d62dc380c Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 29 Dec 2018 18:20:51 +0100 Subject: [PATCH] generic os separator --- dotdrop/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 285e0ab..8b6a71a 100644 --- a/dotdrop/installer.py +++ b/dotdrop/installer.py @@ -64,7 +64,7 @@ class Installer: if not os.path.exists(src): self.log.err('source dotfile does not exist: {}'.format(src)) return [] - dst = os.path.expanduser(dst).rstrip('/') + dst = os.path.expanduser(dst).rstrip(os.sep) if self.totemp: # ignore actions return self.install(templater, src, dst, actions=[])