forked from alexanderrichtertd/plex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtank.py
More file actions
42 lines (27 loc) · 681 Bytes
/
tank.py
File metadata and controls
42 lines (27 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import os
import libData
from users import User
from software import Software
from subclass import Singleton
class Tank(Singleton):
def init_os(self):
self._user = User()
self._user.setup()
def init_software(self):
self._software = Software()
self._software.setup()
self._software.print_header()
self._user = User()
self._user.setup()
@property
def software(self):
return Software()
@property
def user(self):
return self._user
@property
def context(self):
return self._software.context
@property
def data(self):
return libData.get_data()