-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain_debug.py
More file actions
33 lines (27 loc) · 847 Bytes
/
main_debug.py
File metadata and controls
33 lines (27 loc) · 847 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
'''
Execute programs
This program needs the following directory structure:
- Contracts
- ContractsNew
- Code
- Locker.xlsx
- main.py
- ContractsOld
'''
__author__ = "Lukas Beck"
__date__ = "13.09.2024"
import logging
try:
from Code.add_contract import AddContract
from Code.extend_contract import ExtendContract
from Code.remove_contract import RemoveContracts
from Code.send_extend_reminder import SendExtendReminder
from Code.extend_code_generator import ExtendCodeGenerator
from Code.extend_update_from_file import ExtendUpdateFromFile
# input("Press Enter to start the program.")
ExtendUpdateFromFile()
except KeyboardInterrupt:
print("\nProgram interrupted by user.")
except Exception as e:
logging.exception("Fatal error in main program: " + str(e))
input("Press Enter to exit.")