From 63b4c73cda59017a4b37fa7567273e32e38f5d1b Mon Sep 17 00:00:00 2001 From: Lili Date: Wed, 24 Aug 2022 13:47:55 +0200 Subject: [PATCH] change filenames to snake_case as well --- tlapbot/__init__.py | 4 ++-- tlapbot/{owncastHelpers.py => owncast_helpers.py} | 0 tlapbot/{owncastWebhooks.py => owncast_webhooks.py} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename tlapbot/{owncastHelpers.py => owncast_helpers.py} (100%) rename tlapbot/{owncastWebhooks.py => owncast_webhooks.py} (94%) diff --git a/tlapbot/__init__.py b/tlapbot/__init__.py index 996f876..1c59a10 100644 --- a/tlapbot/__init__.py +++ b/tlapbot/__init__.py @@ -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 diff --git a/tlapbot/owncastHelpers.py b/tlapbot/owncast_helpers.py similarity index 100% rename from tlapbot/owncastHelpers.py rename to tlapbot/owncast_helpers.py diff --git a/tlapbot/owncastWebhooks.py b/tlapbot/owncast_webhooks.py similarity index 94% rename from tlapbot/owncastWebhooks.py rename to tlapbot/owncast_webhooks.py index 26da1b6..68d075c 100644 --- a/tlapbot/owncastWebhooks.py +++ b/tlapbot/owncast_webhooks.py @@ -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__)