change filenames to snake_case as well
This commit is contained in:
		
							parent
							
								
									23ebe015b9
								
							
						
					
					
						commit
						63b4c73cda
					
				@ -14,8 +14,8 @@ def create_app(test_config=None):
 | 
			
		||||
        pass
 | 
			
		||||
 | 
			
		||||
    from . import db
 | 
			
		||||
    from . import owncastWebhooks
 | 
			
		||||
    app.register_blueprint(owncastWebhooks.bp)
 | 
			
		||||
    from . import owncast_webhooks
 | 
			
		||||
    app.register_blueprint(owncast_webhooks.bp)
 | 
			
		||||
    db.init_app(app)
 | 
			
		||||
 | 
			
		||||
    return app
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
from flask import Flask,request,json,Blueprint
 | 
			
		||||
from sqlite3 import Error
 | 
			
		||||
from tlapbot.db import get_db
 | 
			
		||||
from tlapbot.owncastHelpers import user_exists, add_user_to_database, send_chat
 | 
			
		||||
from tlapbot.owncast_helpers import user_exists, add_user_to_database, send_chat
 | 
			
		||||
 | 
			
		||||
bp = Blueprint('owncast_webhooks', __name__)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user