Skip to content

Commit f7e5f7f

Browse files
committed
bugfix Issue #38
1 parent 5e83b7a commit f7e5f7f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frost_sta_client/model/location.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def historical_locations(self, values):
168168
if isinstance(values, entity_list.EntityList) and \
169169
all(isinstance(hl, historical_location.HistoricalLocation) for hl in values.entities):
170170
self._historical_locations = values
171+
return
171172
raise ValueError('historical_location should be of type HistoricalLocation!')
172173

173174
def get_things(self):

0 commit comments

Comments
 (0)