Skip to content
Snippets Groups Projects
Commit 00d69493 authored by Milan Prica's avatar Milan Prica :skier:
Browse files

main() method added.

parent 0f761677
No related branches found
No related tags found
No related merge requests found
......@@ -661,7 +661,7 @@ class FlexHVClass(PyTango.DeviceClass):
# FlexHV class main method
#
#==================================================================
if __name__ == '__main__':
def main():
try:
py = PyTango.Util(sys.argv)
py.add_TgClass(FlexHVClass,FlexHV,'FlexHV')
......@@ -675,3 +675,5 @@ if __name__ == '__main__':
except Exception,e:
print '-------> An unforeseen exception occured....',e
if __name__ == '__main__':
main()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment