diff --git a/README.md b/README.md index bf404a3..dfc0e7f 100644 --- a/README.md +++ b/README.md @@ -669,7 +669,7 @@ The following setup steps are ***required*** in order to allow the Slack integra 1. Sign in to your slack workspace [here](https://slack.com/signin). 2. Once logged in, you need to [create a new app](https://api.slack.com/apps?new_app=1) for your workspace. 3. After the popup appears, select `From scratch` and fill in the fields as follows: - * i. `App Name`: `ffmw-report` (this name can be anything you want) + * i. `App Name`: `ff-metrics-weekly-report` (this name can be anything you want) * ii. `Pick a workspace to develop your app in:`: Select your chosen Slack workspace from the dropdown menu. 4. Click `Create App`. You should now be taken to the page for your new app, where you can set things like the app title card color, the icon, the description, as well as a whole host of other features (see [here](https://api.slack.com/docs/apps) for more information). 5. Select `Basic Information` from the `Settings` section in the menu on the left. diff --git a/compose.yaml b/compose.yaml index 78e80be..8325992 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,7 +2,7 @@ services: app: - image: ghcr.io/uberfastman/fantasy-football-metrics-weekly-report:18.1.1 + image: ghcr.io/uberfastman/fantasy-football-metrics-weekly-report:18.1.2 platform: linux/amd64 ports: - "5001:5000" diff --git a/dao/platforms/espn.py b/dao/platforms/espn.py index 799abd3..90a92a9 100644 --- a/dao/platforms/espn.py +++ b/dao/platforms/espn.py @@ -76,10 +76,11 @@ def _authenticate(self) -> None: # skip credentials check for public ESPN league access when use-default is set to true if os.environ.get("USE_DEFAULT"): - logger.info( - "Use-default is set to \"true\". Automatically running the report for the selected ESPN league without " - "credentials. This will only work for public ESPN leagues." - ) + if not settings.platform_settings.espn_cookie_swid and not settings.platform_settings.espn_cookie_espn_s2: + logger.info( + "Use-default is set to \"true\". Automatically running the report for the selected ESPN league " + "without credentials. This will only work for public ESPN leagues." + ) return if not settings.platform_settings.espn_cookie_swid or not settings.platform_settings.espn_cookie_espn_s2: