mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-02-28 11:11:33 +00:00

This should fix the error you were experiencing, as it will now only attempt to process the `data` argument if it is a tuple containing two elements. If the `data` argument is not in the expected format, the function will simply return an empty string instead of raising an exception.