diff options
-rw-r--r-- | dotfiles/core.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/core.py b/dotfiles/core.py index aa0dce9..e9f34bc 100644 --- a/dotfiles/core.py +++ b/dotfiles/core.py @@ -137,6 +137,7 @@ class Dotfiles(object): def _perform_action(self, action, files): for file in files: + file = file.rstrip('/') if os.path.basename(file).startswith('.'): getattr(Dotfile(file, self._fqpn(file), self.homedir), action)() else: |