1
0

move get_index from network to session

This commit is contained in:
SomberNight
2018-09-11 20:37:53 +02:00
parent e829d6bbcf
commit 8b8ca14c6d
2 changed files with 7 additions and 7 deletions

View File

@@ -598,11 +598,6 @@ class Network(PrintError):
self.recent_servers = self.recent_servers[0:20]
self.save_recent_servers()
@classmethod
def get_index(cls, method, params):
""" hashable index for subscriptions and cache"""
return str(method) + (':' + str(params[0]) if params else '')
@with_interface_lock
def connection_down(self, server):
'''A connection to server either went down, or was never made.