Loading ccserver/ccserver.py +2 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,8 @@ class CCServer(object): Update the database with accounts. ''' db_accounts = self.objects.get_ids() all_objects = self.objects.all((), ()) db_accounts = set([o['a'] for o in all_objects if 'a' in o]) accounts = set(self.conf.list_accounts()) to_register = accounts - db_accounts Loading Loading
ccserver/ccserver.py +2 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,8 @@ class CCServer(object): Update the database with accounts. ''' db_accounts = self.objects.get_ids() all_objects = self.objects.all((), ()) db_accounts = set([o['a'] for o in all_objects if 'a' in o]) accounts = set(self.conf.list_accounts()) to_register = accounts - db_accounts Loading