From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [101.128.125.94]) by gnuweeb.org (Postfix) with ESMTPSA id 0F2887E804; Thu, 21 Jul 2022 23:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1658446204; bh=BZBfLvOHG4aruhvw7EEybKcd+lXTDUZgs6VNeWRuHvY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Co/49wAT8h5q+rHbMfyVMbPgkTo9rJrZcj/w0aCrtzzeyhJWz0s4JEcaSnhb2gHpC DEtKmJD/5D3uTwj2nWcnGvmYLV2EsOJe8EfJwqtUVzAq/5V9V9AqLi/LS6xsAiQd1f d0EHoYuzJ1RnjMzFXGf6pWAhxoLrXmDUc2wyLwejcJ3c2x6hCfpTT3haywMLxNGcGF daxfgsLJs1fnQ20eJkRKur3EubetCJnb7e/L6Q66BILj5Mq4pGE/+q6uYxZ+N9SF/M 7yPpqnCRoftLSiVglwTqCFqtdXvwYBTZXqbPQbeSXRaqoFHlms2fvPpnNnFEcH+7k5 BXzVIZsrTBtzA== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , GNU/Weeb Mailing List Subject: [PATCH v3 04/17] Move the Telegram bot session into the storage directory Date: Fri, 22 Jul 2022 06:29:25 +0700 Message-Id: <20220721232938.503-5-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20220721232938.503-1-kiizuha@gnuweeb.org> References: <20220721232938.503-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Muhammad Rizki We want to move the Telegram bot session file into the storage file, so it makes the work root directory much cleaner. Signed-off-by: Muhammad Rizki --- daemon/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/run.py b/daemon/run.py index 0a650cd..83b2cdb 100644 --- a/daemon/run.py +++ b/daemon/run.py @@ -18,7 +18,7 @@ def main(): load_dotenv() client = Client( - "EmailScraper", + "storage/EmailScraper", api_id=int(os.getenv("API_ID")), api_hash=os.getenv("API_HASH"), bot_token=os.getenv("BOT_TOKEN"), -- Muhammad Rizki