Różnice
Różnice między wybraną wersją a wersją aktualną.
| Poprzednia rewizja po obu stronach Poprzednia wersja | |||
| programowanie:python:mqtt [2024/10/18 15:58] – [Subskrypcja] sases | programowanie:python:mqtt [2024/10/18 15:58] (aktualna) – [Publikacja] sases | ||
|---|---|---|---|
| Linia 59: | Linia 59: | ||
| status = result[0] | status = result[0] | ||
| if status == 0: | if status == 0: | ||
| - | print(f" | + | logging.info(f" |
| else: | else: | ||
| - | print(f" | + | logging.error(f" |
| </ | </ | ||
| \\ | \\ | ||