diff options
-rw-r--r-- | dotfiles/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/core.py b/dotfiles/core.py index e3ac564..35436a7 100644 --- a/dotfiles/core.py +++ b/dotfiles/core.py @@ -191,7 +191,7 @@ class Dotfiles(object): if not files: dotfiles = self.dotfiles else: - files = list(map(lambda x: os.path.join(self.homedir, x), files)) + files = set(map(lambda x: os.path.join(self.homedir, x), files)) dotfiles = [x for x in self.dotfiles if x.name in files] if not dotfiles: raise Exception("file not found") |