Skip to content

Commit

Permalink
Fix conditions checked in IsRunning property
Browse files Browse the repository at this point in the history
  • Loading branch information
jczic committed Nov 15, 2019
1 parent 165d96b commit 7be88c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MicroWebSrv2/microWebSrv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ def SetLargeConfig(self) :

@property
def IsRunning(self) :
return ( self._xasPool.WaitEventsProcessing and \
return ( self._xasPool is not None and \
self._xasPool.WaitEventsProcessing and \
self._xasSrv is not None )

# ------------------------------------------------------------------------
Expand Down

0 comments on commit 7be88c7

Please sign in to comment.