Skip to content

Commit

Permalink
add return value to updateMacroServer
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotan committed Sep 21, 2023
1 parent 2a671f4 commit 888bcc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nxsrecconfig/MacroServerPools.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def updateMacroServer(self, door):
:param door: door device name
:type door: :obj:`str`
:returns: macroserver device name
:rtype: :obj:`str`
"""
self.__macroserver = ""
self.__pools = []
Expand All @@ -119,6 +121,7 @@ def updateMacroServer(self, door):
for pn in poolNames]
self.__pools = TangoUtils.getProxies(poolNames)
self.__macroserver = macroserver
return self.__macroserver

def getMacroServer(self, door):
""" door macro server device name
Expand Down

0 comments on commit 888bcc6

Please sign in to comment.