core: removed sat_id which is not used anywhere, uuid do the job better
This commit is contained in:
parent
3312c3bf97
commit
8cfcc7098a
1 changed files with 0 additions and 10 deletions
|
|
@ -48,16 +48,9 @@ except ImportError:
|
|||
from ordereddict import OrderedDict
|
||||
|
||||
|
||||
sat_id = 0
|
||||
__version__ = C.APP_VERSION
|
||||
|
||||
|
||||
def sat_next_id():
|
||||
global sat_id
|
||||
sat_id += 1
|
||||
return "sat_id_" + str(sat_id)
|
||||
|
||||
|
||||
class SAT(service.Service):
|
||||
|
||||
@property
|
||||
|
|
@ -79,9 +72,6 @@ class SAT(service.Service):
|
|||
else:
|
||||
return version
|
||||
|
||||
def get_next_id(self):
|
||||
return sat_next_id()
|
||||
|
||||
def __init__(self):
|
||||
self._cb_map = {} # map from callback_id to callbacks
|
||||
self._menus = OrderedDict() # dynamic menus. key: callback_id, value: menu data (dictionnary)
|
||||
|
|
|
|||
Loading…
Reference in a new issue