Parse DB_PORT as integer
This commit is contained in:
parent
2878fee9ae
commit
b903410030
@ -14,7 +14,7 @@ from PIL import ImageFont, ImageDraw
|
||||
|
||||
|
||||
DB_HOST = os.getenv('DB_HOST', 'default')
|
||||
DB_PORT = os.getenv('DB_PORT', 'default')
|
||||
DB_PORT = int(os.getenv('DB_PORT', 3306))
|
||||
DB_NAME = os.getenv('DB_NAME', 'default')
|
||||
DB_USER = os.getenv('DB_USER', 'default')
|
||||
DB_PASS = os.getenv('DB_PASS', 'default')
|
||||
|
Loading…
Reference in New Issue
Block a user