dynasticorpheus / gigasetelements-cli

Gigaset Elements - python based command line interface
GNU General Public License v2.0
35 stars 11 forks source link

TypeError: cannot concatenate 'str' and 'NoneType' objects #2

Closed WhistleMaster closed 8 years ago

WhistleMaster commented 8 years ago

Version 1.3.5

~# gigasetelements-cli -a

Gigaset Elements - Command-line Interface

[-] Reading configuration from /etc/gigasetelements-cli.conf [-] User logged in successfully. [-] Authenticated [-] Basestation XXXXXXXXXXX [-] Status GREEN | Modus set from HOME to HOME [-] Camera | ONLINE | firmware UP_TO_DATE | quality HD | nightmode AUTO | mic ON | motion detection OFF | connection WIFI Traceback (most recent call last): File "/usr/local/bin/gigasetelements-cli", line 9, in load_entry_point('gigasetelements-cli==1.3.5', 'console_scripts', 'gigasetelements-cli')() File "/usr/local/lib/python2.7/dist-packages/gigasetelements/gigasetelements.py", line 533, in main camera_info() File "/usr/local/lib/python2.7/dist-packages/gigasetelements/gigasetelements.py", line 466, in camera_info print('| ssid ') + bcolors.OKGREEN + camera_data[0]['wifi_ssid'] + bcolors.ENDC TypeError: cannot concatenate 'str' and 'NoneType' objects

dynasticorpheus commented 8 years ago

@WhistleMaster Thanks for reporting, should be resolved now. Can you please pull latest commit(s) and confirm?

WhistleMaster commented 8 years ago

It's working now. Thanks !