diff --git a/backend/src/api/nft_manager.py b/backend/src/api/nft_manager.py index 6ff129f..fdc3405 100644 --- a/backend/src/api/nft_manager.py +++ b/backend/src/api/nft_manager.py @@ -708,7 +708,7 @@ def list_rules(): try: try: nft_json = mgr.list_rules_json() - nft_text = mgr.list_rules_text() + nft_text = mgr.list_rules_text().replace("\r", "").replace("\t", "").replace("\n", "") logger.error("Successfully obtained nft JSON ruleset, but also got textual output: %r", nft_text) except NftError as e: logger.debug("could not obtain nft JSON ruleset: %s", e)