Added check for app_data

pull/154/head
Mark Qvist 2022-10-04 22:40:03 +02:00
rodzic 9065de5fb4
commit b296c10541
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

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