Debian Codegraph @

src/fenrirscreenreader/commands/onHeartBeat/2000-GetSessionInfo.py

raw
1 #!/usr/bin/env python3
2
3 import datetime
4 import time
5
6 from fenrirscreenreader.core.i18n import _
7
8 # -*- coding: utf-8 -*-
9
10 # Fenrir TTY screen reader
11 # By Chrys, Storm Dragon, and contributors.
12
13
14 class command:
15 def __init__(self):
16 pass
17
18 def initialize(self, environment):
19 self.env = environment
20 self.last_time = datetime.datetime.now()
21 self.lastDateString = ""
22 self.lastTimeString = ""
23
24 def shutdown(self):
25 pass
26
27 def get_description(self):
28 return "No Description found"
29
30 def run(self):
31 self.env["runtime"]["ScreenDriver"].get_session_information()
32
33 def set_callback(self, callback):
34 pass