tchellomello / python-amcrest

A Python 2.7/3.x module for Amcrest and Dahua Cameras using the SDK HTTP API.
GNU General Public License v2.0
216 stars 76 forks source link

--config-backup --save /tmp/cfg is not working #19

Closed tchellomello closed 7 years ago

tchellomello commented 7 years ago

The option --config-backup --save /tmp/cfg

» amcrest-cli  --camera amcrestcam1 --config-backup --save /tmp/cfg                                                                                 ~/d/h/homeassistant
Traceback (most recent call last):
  File "/home/mdemello/.virtualenvs/home_assistant/bin/amcrest-cli", line 863, in <module>
    main()
  File "/home/mdemello/.virtualenvs/home_assistant/bin/amcrest-cli", line 849, in main
    camera.config_backup(args.save)
TypeError: 'str' object is not callable