Commit e22bfbde authored by Bram Schoenmakers's avatar Bram Schoenmakers

Deduplicate characters in alphabet

parent 7513e7c2
......@@ -476,7 +476,10 @@ class _Config:
return shlex.split(result)
def identifier_alphabet(self):
return self.cp.get('topydo', 'identifier_alphabet')
alphabet = self.cp.get('topydo', 'identifier_alphabet')
# deduplicate characters alphabet
return list({c: None for c in alphabet}.keys())
def config(p_path=None, p_overrides=None):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment