remove fromappid = ''

This commit is contained in:
pengtao 2019-10-24 16:08:49 +08:00
parent 7d671f73d3
commit f765da9249

View File

@ -341,7 +341,7 @@ class Report:
if data:
try:
for line in data:
if line and line != '':
if line and line[0] != '':
input_fromappids.append(line[0])
except Exception:
log.error(f"split {line} error", exc_info=True)
@ -364,7 +364,7 @@ class Report:
if data:
try:
for line in data:
if line and line != '':
if line and line[0] != '':
output_fromappids.append(line[0].split('_success')[0])
except Exception:
log.error(f"split {line} error", exc_info=True)
@ -383,7 +383,7 @@ class Report:
if data:
try:
for line in data:
if line and line != '':
if line and line[0] != '':
output_fromappids.append(line[0])
except Exception:
log.error(f"split {line} error", exc_info=True)