sort filters so tracking Settings.json with version control handles changes better

This commit is contained in:
auouymous 2020-02-19 04:25:56 -07:00
parent bfdaf93a5e
commit cb5c95a01c
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ class gPodderExtension:
if self.f is None:
self.f = {'url': self.url}
self.filters.append(self.f)
self.filters.sort(key=lambda e: e['url'])
self.f[field] = text
if regexp:
self.f[field + '_re'] = True