server replay: expose the replay.server.count command

This commit is contained in:
Aldo Cortesi 2018-05-02 09:02:27 +12:00
parent 204726349d
commit 42b04a5413

View File

@ -99,6 +99,7 @@ class ServerPlayback:
self.flowmap = {}
ctx.master.addons.trigger("update", [])
@command.command("replay.server.count")
def count(self):
return sum([len(i) for i in self.flowmap.values()])