mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 19:09:44 +00:00
ensure profile key is a str
This commit is contained in:
@@ -216,7 +216,9 @@ class Cfg:
|
||||
""" returns a list of dotfiles for a specific profile """
|
||||
if profile not in self.prodots:
|
||||
return []
|
||||
return sorted(self.prodots[profile], key=lambda x: x.key, reverse=True)
|
||||
return sorted(self.prodots[profile],
|
||||
key=lambda x: str(x.key),
|
||||
reverse=True)
|
||||
|
||||
def get_profiles(self):
|
||||
""" returns all defined profiles """
|
||||
|
||||
Reference in New Issue
Block a user