mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
renamed cli_interface.py to interface.py
This commit is contained in:
parent
ee309b9f8b
commit
b94c9125b3
@ -3,10 +3,14 @@
|
|||||||
# Notes:
|
# Notes:
|
||||||
# setup:
|
# setup:
|
||||||
|
|
||||||
__version__ = "0.8.6"
|
__version__ = "0.9.0"
|
||||||
|
|
||||||
# changelog should be viewed using print(analysis.__changelog__)
|
# changelog should be viewed using print(analysis.__changelog__)
|
||||||
__changelog__ = """changelog:
|
__changelog__ = """changelog:
|
||||||
|
0.9.0:
|
||||||
|
- moved printing and logging related functions to interface.py (changelog will stay in this file)
|
||||||
|
- changed function return files for load_config and save_config to standard C values (0 for success, 1 for error)
|
||||||
|
- added local variables for config location
|
||||||
0.8.6:
|
0.8.6:
|
||||||
- added proper main function
|
- added proper main function
|
||||||
0.8.5:
|
0.8.5:
|
||||||
@ -187,7 +191,7 @@ def main():
|
|||||||
|
|
||||||
splash(__version__)
|
splash(__version__)
|
||||||
|
|
||||||
def load_config(config_vector):
|
def load_config(path, config_vector):
|
||||||
try:
|
try:
|
||||||
f = open(path, "r")
|
f = open(path, "r")
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user