diff options
author | rexxnor <rexxnor+git@brief.li> | 2020-05-22 15:25:55 +0200 |
---|---|---|
committer | rexxnor <rexxnor+git@brief.li> | 2020-05-22 15:25:55 +0200 |
commit | 3d9796a90d4253e7e86fc58ef69d6cb2e4af419e (patch) | |
tree | 0bce46d4f1864a5400e8169a5cd96e7ec114b8d2 | |
parent | 354b0e1ddd06920e4c229b171099b0c4815d0a3d (diff) | |
download | ascension-experimental.tar.gz ascension-experimental.zip |
check for empty record data with existing labelexperimental
-rw-r--r-- | ascension/ascension.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ascension/ascension.py b/ascension/ascension.py index 9de9391..edcfd73 100644 --- a/ascension/ascension.py +++ b/ascension/ascension.py | |||
@@ -336,7 +336,7 @@ class Ascender(): | |||
336 | record_data.data.append(entry) | 336 | record_data.data.append(entry) |
337 | 337 | ||
338 | payload = record_data | 338 | payload = record_data |
339 | if not record_data: | 339 | if not record_data.data: |
340 | logging.warning("Empty record %s" % record_data) | 340 | logging.warning("Empty record %s" % record_data) |
341 | return | 341 | return |
342 | logging.info("Payload: %s" % record_data) | 342 | logging.info("Payload: %s" % record_data) |