port separation.

This commit is contained in:
Jason Schwarzenberger
2020-11-18 17:21:37 +13:00
parent 2f730c1f52
commit 539350a83d
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -3,9 +3,9 @@ logging.basicConfig(
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
level=logging.DEBUG)
import requests
from settings import READER_PORT
from settings import SIMPLE_READER_PORT
READ_API = 'http://127.0.0.1:{}/simple/details'.format(READER_PORT or 3000)
READ_API = 'http://127.0.0.1:{}/simple/details'.format(SIMPLE_READER_PORT or 33843)
TIMEOUT = 20
def get_html(url):