Seneca-CDOT / simengine

simengine :: Hardware simulation engine for Alteeve's Anvil! Intelligent Availability platform and similar HA configurations
GNU General Public License v3.0
5 stars 7 forks source link

Empty model fix #143

Closed noahpop77 closed 4 years ago

noahpop77 commented 4 years ago

Added a try except block to the status command so that it does not throw a TypeError when the model is empty. Instead it catches the error and says "model is empty" then exists.