pyunifi icon indicating copy to clipboard operation
pyunifi copied to clipboard

Fix create_backup and get_backup.

Open BoostCookie opened this issue 2 years ago • 1 comments

Fixes https://github.com/finish06/pyunifi/issues/61 and more.

For create_backup the suggested solution from https://github.com/finish06/pyunifi/issues/61 was taken.

get_backup still failed, because if response != 200: was used instead of if response.status_code != 200:.

The README.md was updated to contain both arguments for get_backup.

BoostCookie avatar Aug 30 '22 08:08 BoostCookie

any chance getting this merged? I confirm that it fixes the problem.

numo68 avatar Nov 16 '22 18:11 numo68