File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,6 @@ def run(self, replay):
151151 # the front of the line for immediate processing.
152152 while len (event_queue ) > 0 :
153153 event = event_queue .popleft ()
154- assert event .player , 'Event with no player: {}' .format (event )
155154
156155 if event .name == 'PluginExit' :
157156 # Remove the plugin and reset the handlers.
@@ -172,6 +171,7 @@ def run(self, replay):
172171 # which get processed after the current event finishes. The new_events
173172 # batch is constructed in reverse order because extendleft reverses
174173 # the order again with a series of appendlefts.
174+ assert event .player , 'Event with no player: {}' .format (event )
175175 new_events = collections .deque ()
176176 for event_handler in event_handlers :
177177 try :
You can’t perform that action at this time.
0 commit comments