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,