|
@@ -19,7 +19,6 @@ class Kaylee:
|
19
|
19
|
def __init__(self):
|
20
|
20
|
self.ui = None
|
21
|
21
|
self.options = {}
|
22
|
|
- ui_continuous_listen = False
|
23
|
22
|
self.continuous_listen = False
|
24
|
23
|
|
25
|
24
|
# Load configuration
|
|
@@ -177,6 +176,7 @@ class Kaylee:
|
177
|
176
|
self.quit()
|
178
|
177
|
|
179
|
178
|
def load_resource(self, string):
|
|
179
|
+ # TODO: Use the Config object for this path management
|
180
|
180
|
local_data = os.path.join(os.path.dirname(__file__), '..', 'data')
|
181
|
181
|
paths = ["/usr/share/kaylee/", "/usr/local/share/kaylee", local_data]
|
182
|
182
|
for path in paths:
|
|
@@ -202,6 +202,5 @@ def run():
|
202
|
202
|
try:
|
203
|
203
|
main_loop.run()
|
204
|
204
|
except:
|
205
|
|
- print("time to quit")
|
206
|
205
|
main_loop.quit()
|
207
|
206
|
sys.exit()
|