mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-23 20:22:17 +03:00
22 lines
491 B
Python
22 lines
491 B
Python
|
#!/usr/bin/python3
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from base.plugin.abstract_plugin import AbstractPlugin
|
||
|
|
||
|
|
||
|
class Safe(AbstractPlugin):
|
||
|
def __init__(self, context):
|
||
|
super(Safe, self).__init__()
|
||
|
self.context = context
|
||
|
self.username = str(context.get_username())
|
||
|
self.logger = self.get_logger()
|
||
|
|
||
|
def handle_safe_mode(self):
|
||
|
# TODO Do what do you want to do!
|
||
|
pass
|
||
|
|
||
|
|
||
|
def handle_mode(context):
|
||
|
safe = Safe(context)
|
||
|
safe.handle_safe_mode()
|