mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 02:42:56 +00:00 
			
		
		
		
	Use IOLoop.current() instead of deprecated instance()
This commit is contained in:
		@@ -87,7 +87,7 @@ def main():
 | 
			
		||||
    ))
 | 
			
		||||
 | 
			
		||||
    setup_signal_handlers()
 | 
			
		||||
    IOLoop.instance().start()
 | 
			
		||||
    IOLoop.current().start()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
 
 | 
			
		||||
@@ -26,7 +26,7 @@ def main():
 | 
			
		||||
    ))
 | 
			
		||||
 | 
			
		||||
    setup_signal_handlers()
 | 
			
		||||
    IOLoop.instance().start()
 | 
			
		||||
    IOLoop.current().start()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user