Added check for app_data

This commit is contained in:
Mark Qvist 2022-10-04 22:40:03 +02:00
parent 9065de5fb4
commit b296c10541

View File

@ -130,6 +130,7 @@ class ExampleAnnounceHandler:
RNS.prettyhexrep(destination_hash) RNS.prettyhexrep(destination_hash)
) )
if app_data:
RNS.log( RNS.log(
"The announce contained the following app data: "+ "The announce contained the following app data: "+
app_data.decode("utf-8") app_data.decode("utf-8")