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.57]) by gnuweeb.org (Postfix) with ESMTPSA id F31927E7BE; Tue, 19 Jul 2022 00:18:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1658189890; bh=BZBfLvOHG4aruhvw7EEybKcd+lXTDUZgs6VNeWRuHvY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V8grELVDGQCjgqjqsr264YXT3jmt1hsvjeYtW3/vvmk3ecTTmstWMqhBSDgNUrAZs KCZSkH+d+cC0YzwF8O57hQD0LA/Foyv+fiaXlsKJFz/mn1+Ic2dHnlh2eQpkYV56UE yTV94vGz7D6hOlS5Q6lZwCXEIL3eNYJq3ki60Cxzk14G3hmnKUDiyT0MlwA9PcbgBD CvSjN2KnrkFyyQSDDPb8eGC/5vibkz7j1XXRerFwaUjNqUk6l0wOYlldLwf0YLklye 2LeFMP+EqbDYS5+0dW8BpYstlr+GZCS+PbVtmTeTRg04PSbCYeHe6BDy9AKAiPYvZE 04SXkHSGdfNgQ== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , GNU/Weeb Mailing List Subject: [PATCH v2 04/18] Move the Telegram bot session into the storage directory Date: Tue, 19 Jul 2022 07:17:30 +0700 Message-Id: <20220719001744.1950-5-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20220719001744.1950-1-kiizuha@gnuweeb.org> References: <20220719001744.1950-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