mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 05:39:54 +05:00
flake8: E402 module level import not at top of file.
This commit is contained in:
committed by
Dan Christian Bogos
parent
f7452fd697
commit
33fa773a0b
@@ -3,14 +3,14 @@
|
||||
# depends:
|
||||
# ^ psycopg2 (debian: python-psycopg2)
|
||||
|
||||
import psycopg2
|
||||
|
||||
host = '127.0.0.1'
|
||||
port = 5432
|
||||
database = 'cgrates'
|
||||
user = 'cgrates'
|
||||
password = 'CGRateS.org'
|
||||
|
||||
import psycopg2
|
||||
|
||||
print('Connecting to PostgreSQL...')
|
||||
cnx = psycopg2.connect(
|
||||
host=host,
|
||||
|
||||
Reference in New Issue
Block a user