Debug
This commit is contained in:
		
							parent
							
								
									8fa91e5e5f
								
							
						
					
					
						commit
						7532b2a064
					
				@ -12,7 +12,10 @@ versionstring='Taurix TellMe server v' + __version__
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
app = Flask(__name__)
 | 
					app = Flask(__name__)
 | 
				
			||||||
lock = threading.Lock()
 | 
					lock = threading.Lock()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ws = None
 | 
					ws = None
 | 
				
			||||||
 | 
					uri = "ws://localhost:5080"
 | 
				
			||||||
 | 
					ws = websocket.create_connection(uri)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
hooks = {}
 | 
					hooks = {}
 | 
				
			||||||
with open(r'/etc/tellme/hooks.yml') as hooksfile:
 | 
					with open(r'/etc/tellme/hooks.yml') as hooksfile:
 | 
				
			||||||
@ -85,6 +88,4 @@ def webhook_receiver(id):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if __name__ == '__main__':
 | 
					if __name__ == '__main__':
 | 
				
			||||||
    print("Started %s" % (versionstring))
 | 
					    print("Started %s" % (versionstring))
 | 
				
			||||||
    uri = "ws://localhost:5080"
 | 
					 | 
				
			||||||
    ws = websocket.create_connection(uri)
 | 
					 | 
				
			||||||
    app.run()
 | 
					    app.run()
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user