From 3dd361be25e8e9cd1e2d54b8a9d5cff8a2228c10 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 11 Jun 2021 11:15:26 +0200 Subject: [PATCH] update path --- README.md | 2 +- src/utils/reminder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4979679..38a4ddf 100644 --- a/README.md +++ b/README.md @@ -42,4 +42,4 @@ To find reddit tokens, go to [this site](https://www.reddit.com/prefs/apps) and ## __Launching locally__ If you want to run it without Docker, I personally use [direnv](https://direnv.net/) to store variables and have them only in the working folder. -Simply run python3 `src/main.py` to launch the bot in the repo folder. +Simply run `python3 main.py` in `src` folder to launch the bot in the repo folder. diff --git a/src/utils/reminder.py b/src/utils/reminder.py index 0f8d9f4..e6beeb7 100644 --- a/src/utils/reminder.py +++ b/src/utils/reminder.py @@ -2,7 +2,7 @@ from utils.db import Database class Reminder(Database): def __init__(self): - super().__init__(r"src/db/bot.sqlite3") + super().__init__(r"db/bot.sqlite3") def creationTable(self): """Créer la table qui stocker les reminders"""