mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
more api tweaks
removed WebfrontSettings IW4MAdminSettings are only generated when the file does not exist, placeholder values stored in DefaultSettings.json
This commit is contained in:
@ -23,7 +23,10 @@ class Base():
|
||||
print('[_remove_staleinstances] removing stale instance {id}'.format(id=key))
|
||||
del self.instance_list[key]
|
||||
del self.token_list[key]
|
||||
print('[_remove_staleinstances] {count} active instances'.format(count=len(self.instance_list)))
|
||||
print('[_remove_staleinstances] {count} active instances'.format(count=len(self.instance_list.items())))
|
||||
|
||||
def get_instances(self):
|
||||
return self.instance_list.values()
|
||||
|
||||
def get_server_count(self):
|
||||
return self.server_list.count
|
||||
|
Reference in New Issue
Block a user