# -*- coding: utf-8 -*-
"""
    author: Tomasz Teter
    copyright : 5517 Company
"""
from threading import Thread

from kivy.clock import Clock

from common_utilities.Utilities import wait_until_application_root_initialized


class BackgroundSessionSupervisor(Thread):
    def __init__(self, app_root):
        super(BackgroundSessionSupervisor, self).__init__()
        self.app_root = app_root
        self.daemon = True

    def run(self):
        wait_until_application_root_initialized(lambda *a, **kw: Clock.schedule_once(self.app_root.correct_login))()



18b4b33a5d4511ba9337a2837a5d92db3e2cbe70
<mask token>


class BackgroundSessionSupervisor(Thread):
    <mask token>
    <mask token>

<mask token>


class BackgroundSessionSupervisor(Thread):
    <mask token>

    def run(self):
        wait_until_application_root_initialized(lambda *a, **kw: Clock.
            schedule_once(self.app_root.correct_login))()

<mask token>


class BackgroundSessionSupervisor(Thread):

    def __init__(self, app_root):
        super(BackgroundSessionSupervisor, self).__init__()
        self.app_root = app_root
        self.daemon = True

    def run(self):
        wait_until_application_root_initialized(lambda *a, **kw: Clock.
            schedule_once(self.app_root.correct_login))()

<mask token>
from threading import Thread
from kivy.clock import Clock
from common_utilities.Utilities import wait_until_application_root_initialized


class BackgroundSessionSupervisor(Thread):

    def __init__(self, app_root):
        super(BackgroundSessionSupervisor, self).__init__()
        self.app_root = app_root
        self.daemon = True

    def run(self):
        wait_until_application_root_initialized(lambda *a, **kw: Clock.
            schedule_once(self.app_root.correct_login))()

# -*- coding: utf-8 -*-
"""
    author: Tomasz Teter
    copyright : 5517 Company
"""
from threading import Thread

from kivy.clock import Clock

from common_utilities.Utilities import wait_until_application_root_initialized


class BackgroundSessionSupervisor(Thread):
    def __init__(self, app_root):
        super(BackgroundSessionSupervisor, self).__init__()
        self.app_root = app_root
        self.daemon = True

    def run(self):
        wait_until_application_root_initialized(lambda *a, **kw: Clock.schedule_once(self.app_root.correct_login))()


