2016-07-13 17:40:30 +03:00
|
|
|
#!/usr/bin/python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from base.plugin.abstract_plugin import AbstractPlugin
|
|
|
|
|
|
|
|
|
|
|
|
class Login(AbstractPlugin):
|
|
|
|
def __init__(self, context):
|
|
|
|
super(Login, self).__init__()
|
|
|
|
self.context = context
|
|
|
|
self.username = str(context.get_username())
|
|
|
|
self.logger = self.get_logger()
|
|
|
|
|
2016-07-13 17:44:36 +03:00
|
|
|
def handle_login_mode(self):
|
2016-07-13 17:40:30 +03:00
|
|
|
# TODO Do what do you want to do!
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def handle_mode(context):
|
|
|
|
login = Login(context)
|
2016-07-13 17:44:36 +03:00
|
|
|
login.handle_login_mode()
|