Skip to content

Commit

Permalink
Actions: Fix by creating empty config file
Browse files Browse the repository at this point in the history
  • Loading branch information
alissonlauffer committed Jul 26, 2023
1 parent b5abd9c commit c095f0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ jobs:
pip install -r requirements.txt
- name: Run unittest
run: python -m unittest
run: |
echo '{}' > config.json # Create an empty config file
python -m unittest
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def show_settings(update: Update, context: ContextTypes.DEFAULT_TYPE):
return

us = UserSetting.get(id=update.message.from_user.id) or UserSetting(
id=update.message.from_user.id
id=update.message.from_user.id,
)

stats = (
Expand Down

0 comments on commit c095f0d

Please sign in to comment.