mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-27 08:12:24 +03:00
21 lines
505 B
Python
21 lines
505 B
Python
#!/usr/bin/python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from base.plugin.abstract_plugin import AbstractPlugin
|
|
|
|
|
|
class Logout(AbstractPlugin):
|
|
def __init__(self, context):
|
|
super(Logout, self).__init__()
|
|
self.context = context
|
|
self.username = str(context.get_username())
|
|
self.logger = self.get_logger()
|
|
|
|
def handle_logout_mode(self):
|
|
# TODO Do what do you want to do!
|
|
pass
|
|
|
|
|
|
def handle_mode(context):
|
|
logout = Logout(context)
|
|
logout.handle_logout_mode()
|