mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
Merge branch 'split_it_up' of https://github.com/Data-Monkey/Pi.Alert into split_it_up
This commit is contained in:
14
pialert/README.md
Normal file
14
pialert/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Pi.Alert all split into modules
|
||||
|
||||
I am trying to split this big original file into modules and gives me some nice challanges to solve.
|
||||
Since the original code is all in one file, the original author has taken quite some shortcuts by defining lots of variables as global !!
|
||||
These need to be changed now.
|
||||
|
||||
Here is the main structure
|
||||
|
||||
| Module | Description |
|
||||
|--------|-----------|
|
||||
|pialert.py | The MAIN program of Pi.Alert|
|
||||
|const.py | A place to define the constants for Pi.Alert like log path or config path.|
|
||||
|const.py| const.py holds the configuration variables and makes them availabe for all modules. It is also the <b>workaround</b> for the global variables until I can work them out|
|
||||
|api.py| |
|
||||
Reference in New Issue
Block a user