removed old strings
This commit is contained in:
parent
79b3eaea6f
commit
8869b7226f
8
main.py
8
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"
|
||||
|
||||
'''
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue