Skip to content

Commit

Permalink
fixed wrong listen on port (OdysseyScorpio#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
OdysseyScorpio authored Jan 26, 2021
1 parent 2f1e18f commit 4bad801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_redis_database_connection(db_number=0, redis_client=redis.Redis):
ENV_GWP_DB_NAME = config.DATABASE_IP
ENV_GWP_DB_PORT = config.DATABASE_PORT

db = redis_client(ENV_GWP_DB_NAME, config.DATABASE_PORT,
db = redis_client(ENV_GWP_DB_NAME, ENV_GWP_DB_PORT,
decode_responses=True, db=db_number)

db.set_response_callback('GET', parse_boolean_responses_get)
Expand Down

0 comments on commit 4bad801

Please sign in to comment.