lf_qa: Remove invalid comparisons

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-11-16 11:04:54 -08:00
parent 1d244e69e5
commit fb2652a9e8

View File

@@ -22,7 +22,7 @@ lf_report = lf_report.lf_report
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
class csv_sql():
class csv_sql:
def __init__(self,
_path='.',
_file='kpi.csv',
@@ -582,15 +582,14 @@ Usage: lf_qa.py --store --png --path <path to directories to traverse> --databas
database=__database, table=__table,
server=__server, store=args.store, png=args.png))
if(__path == '' and args.store):
if __path == '' and args.store:
print("--path <path of kpi.csv> must be entered if --store , exiting")
exit(1)
if(args.png and args.store is False):
elif not args.store:
if args.png:
print("if --png set to create png files then --store must also be set, exiting")
exit(1)
if args.store is False and args.png is False:
elif not args.png:
print("Need to enter an action of --store --png ")
# create report class for reporting