>>86
最後の行が間違い
device_info[num].print_device_list() の結果を print してしまって None が表示されてる