-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathPyIris.py
25 lines (23 loc) · 851 Bytes
/
PyIris.py
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
# Version 1.1.6
import library.modules.bootstrap as bootstrap
import time
import logging
if __name__ == '__main__':
try:
start = bootstrap.main()
if start:
import library.interfaces.home_interface as home_interface
import library.commands.global_interface.clear as clear
clear.main()
home_interface.main()
except EOFError:
try:
time.sleep(2)
except KeyboardInterrupt:
print('[!]User aborted bootstrap, requesting shutdown...')
quit()
except KeyboardInterrupt:
print('[!]User aborted bootstrap, requesting shutdown...')
quit()
except Exception as e:
logging.critical("Critical Error occurred please inform developer, dumping stack trace and exiting...", exc_info=True)