Use board ID when InternetIsOffline for getting resent projects // Resolve #2866

This commit is contained in:
Ivan Kravets
2019-08-17 23:58:05 +03:00
parent 08103cfc59
commit 5ea3f2bbc6

View File

@ -86,7 +86,7 @@ class ProjectRPC(object):
name = board_id
try:
name = pm.board_config(board_id)['name']
except (exception.UnknownBoard, exception.UnknownPlatform):
except exception.PlatformioException:
pass
boards.append({"id": board_id, "name": name})