From a025df0943f22af529d967314138f3ef3a30e076 Mon Sep 17 00:00:00 2001 From: guidotheelen Date: Fri, 7 Aug 2020 14:42:11 +0200 Subject: [PATCH] fix double dir name bug --- check_emoji_sequences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_emoji_sequences.py b/check_emoji_sequences.py index 3405f2e62..b664203a0 100755 --- a/check_emoji_sequences.py +++ b/check_emoji_sequences.py @@ -365,7 +365,7 @@ def collect_name_to_dirpath(directory, prefix, suffix, exclude=None): dirs[:] = [d for d in dirs if d not in exclude] if directory != '.': - dirname = path.join(directory, dirname) + dirname = directory for f in files: if not f.endswith(suffix): continue