mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-21 06:13:39 +00:00
little changes
This commit is contained in:
parent
647f087053
commit
7a84eedebf
1 changed files with 5 additions and 2 deletions
|
|
@ -169,12 +169,15 @@ try:
|
||||||
except:
|
except:
|
||||||
log("cannot read config file","error")
|
log("cannot read config file","error")
|
||||||
|
|
||||||
|
#in case of reading error, set standard values
|
||||||
log("set to standard configuration")
|
log("set to standard configuration")
|
||||||
fms_double_ignore_time = 5
|
fms_double_ignore_time = 5
|
||||||
zvei_double_ignore_time = 5
|
zvei_double_ignore_time = 5
|
||||||
poc_double_ignore_time = 10
|
poc_double_ignore_time = 10
|
||||||
poc_filter_range_start = 0000000
|
poc_filter_range_start = 0000000
|
||||||
poc_filter_range_end = 9999999
|
poc_filter_range_end = 9999999
|
||||||
|
|
||||||
|
#no config - no modules ;-)
|
||||||
useMySQL = 0
|
useMySQL = 0
|
||||||
useHTTPrequest = 0
|
useHTTPrequest = 0
|
||||||
|
|
||||||
|
|
@ -336,7 +339,7 @@ try:
|
||||||
if decoded.__contains__("Alpha:"):
|
if decoded.__contains__("Alpha:"):
|
||||||
poc_text = decoded.split('Alpha: ')[1].strip().rstrip('<EOT>').strip()
|
poc_text = decoded.split('Alpha: ')[1].strip().rstrip('<EOT>').strip()
|
||||||
else:
|
else:
|
||||||
poc_text = ""
|
poc_text = ""
|
||||||
if len(poc_id) == 7: #if POC is valid
|
if len(poc_id) == 7: #if POC is valid
|
||||||
if poc_id >= poc_filter_range_start:
|
if poc_id >= poc_filter_range_start:
|
||||||
if poc_id >= poc_filter_range_start:
|
if poc_id >= poc_filter_range_start:
|
||||||
|
|
@ -392,7 +395,7 @@ try:
|
||||||
if decoded.__contains__("Alpha:"):
|
if decoded.__contains__("Alpha:"):
|
||||||
poc_text = decoded.split('Alpha: ')[1].strip().rstrip('<EOT>').strip()
|
poc_text = decoded.split('Alpha: ')[1].strip().rstrip('<EOT>').strip()
|
||||||
else:
|
else:
|
||||||
poc_text = ""
|
poc_text = ""
|
||||||
if len(poc_id) == 7: #if POC is valid
|
if len(poc_id) == 7: #if POC is valid
|
||||||
if poc_id >= poc_filter_range_start:
|
if poc_id >= poc_filter_range_start:
|
||||||
if poc_id >= poc_filter_range_start:
|
if poc_id >= poc_filter_range_start:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue