Skip to content

Commit

Permalink
Fix for issue with querying platform historian.
Browse files Browse the repository at this point in the history
  • Loading branch information
craig8 committed May 10, 2016
1 parent 9d2dfb9 commit 5b0d267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/core/VolttronCentral/volttroncentral/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ def err(message, code=METHOD_NOT_FOUND):
return self._handle_list_platforms()
elif method == 'unregister_platform':
return self.unregister_platform(params['platform_uuid'])
elif method[:len('historian')] == 'historian':
elif 'historian' in method:
has_platform_historian = PLATFORM_HISTORIAN in \
self.vip.peerlist().get(timeout=10)
_log.debug('Trapping platform.historian to vc.')
Expand Down

0 comments on commit 5b0d267

Please sign in to comment.