mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-30 06:42:22 +03:00
21 lines
449 B
Python
21 lines
449 B
Python
|
#!/usr/bin/python3
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from base.plugin.abstract_plugin import AbstractPlugin
|
||
|
|
||
|
|
||
|
class Shutdown(AbstractPlugin):
|
||
|
def __init__(self, context):
|
||
|
super(Shutdown, self).__init__()
|
||
|
self.context = context
|
||
|
self.logger = self.get_logger()
|
||
|
|
||
|
def handle_mode(self):
|
||
|
# TODO Do what do you want to do!
|
||
|
pass
|
||
|
|
||
|
|
||
|
def handle_mode(context):
|
||
|
shutdown = Shutdown(context)
|
||
|
shutdown.handle_mode()
|