From 8869b7226f2ceb9f62a9e970aa5f2e0fa3f86cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Mon, 3 Mar 2025 11:23:26 -0300 Subject: [PATCH] removed old strings --- main.py | 8 -------- utils/statistics_server_v3.py | 13 +------------ 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/main.py b/main.py index b1d82a5..ca5549a 100644 --- a/main.py +++ b/main.py @@ -16,14 +16,6 @@ import exchange_wrapper import trader -''' -In case the permissions of the certificate changes, reset them this way: -/ sudo su -# chmod -R 755 /etc/letsencrypt/live/ -# chmod -R 755 /etc/letsencrypt/archive/ -# ll /etc/letsencrypt/ -''' - version = "2025.03.03" ''' diff --git a/utils/statistics_server_v3.py b/utils/statistics_server_v3.py index 325694c..065a5df 100644 --- a/utils/statistics_server_v3.py +++ b/utils/statistics_server_v3.py @@ -11,18 +11,7 @@ from flask import Flask, jsonify, request from waitress import serve -''' -In case the certificate's permissions suddenly change (in auto renewal, for example), reset them this way: -/ sudo su -# chmod -R 755 /etc/letsencrypt/live/ -# chmod -R 755 /etc/letsencrypt/archive/ -# ll /etc/letsencrypt/ (to verify permissions) -''' - -cache_requests = False -if len(sys.argv)>1 and sys.argv[1]=="--cache_requests": - cache_requests = True - +cache_requests = True if len(sys.argv)>1 and sys.argv[1]=="--cache_requests" else False profits_database = "../profits/profits_database.db" hashes_db = {"fetch_last_n_deals":0,