diff --git a/src/core/sat_main.py b/src/core/sat_main.py index 4f516680..cda04bd5 100644 --- a/src/core/sat_main.py +++ b/src/core/sat_main.py @@ -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)