diff --git a/studspider.py b/studspider.py index 8337e60..5f10954 100644 --- a/studspider.py +++ b/studspider.py @@ -237,8 +237,8 @@ async def process_webhook( ) # Import here to avoid circular imports - import src.asquare - import src.glue + import src.asquare as asquare + import src.glue as glue for count in inventory_counts: variation_id = count.get("catalog_object_id") @@ -275,7 +275,8 @@ async def process_webhook( print(f"[PROCESS] Processing catalog version update...") # Import here to avoid circular imports - from src import asquare, glue + import src.asquare as asquare + import src.glue as glue catalog_object = data.get("data", {}).get("object", {}) object_type = catalog_object.get("type")