Commit Graph

8 Commits

Author SHA1 Message Date
Adam Saudagar
ee511e2c81 or might cause issue for 0 value in config, replacing it with ternary statement 2021-04-07 13:24:12 +05:30
Adam Saudagar
639df8ce5b moved config code into 2 parts, class (Config) and singleton (config)... singleton needs to be initlaized and stopped in main,
now config backups the config file every 5 minutes in temp folder, if the file gets corrupted, it restores the backup and continues working
2021-03-29 18:45:40 +05:30
Semjon Kerner
ff21cd0e96 add config sort 2021-03-25 12:48:50 +01:00
Semjon Kerner
693df9bf2d catch config delete exception 2021-03-08 20:51:55 +01:00
Adam Saudagar
a964c65776 full auto bug fixing
- changed engine.toggle_start to abstract method
- check for state before turning off bot engine
- added and corrected logging messages for contorls and calibration
- callibrate._get_factor returning None fixed
- optimized controls
- removed config for show crop
- recorder now runs asksaveasfile in gui thread and blocks itself till resoponse
- corrrected logic for saving failed files
- semifisher dont log started bot engine if not ran from gui
- added file name label in full auto config top
- call in thread now can return values
- gui now saves location when closed
- dynamic config location, now uses correct document folder if config file is not found in incorrect document folder
2020-12-01 02:34:33 +05:30
Adam Saudagar
51560f26d9 made config global 2020-10-18 00:36:07 +05:30
DESKTOP-JVKHS7I\Adam
b1ee1d1188 fixed an import which caused crash on hole deplete
- now uses envions instead of os.path.expand users for config file name
- made readme smaller
2020-05-15 05:21:55 +05:30
DESKTOP-JVKHS7I\Adam
5972aebc7d code cleanup:
- restructured code
- pep8 cleanup
- spelling mistakes fixed
- import fixes
- added cli arg to use local server
- got rid of globals.py
2020-05-14 07:33:13 +05:30