Skip to content
Snippets Groups Projects
Unverified Commit d0c3fd6f authored by Max Adamo's avatar Max Adamo
Browse files

minor change

parent 8016d7cd
No related branches found
No related tags found
No related merge requests found
......@@ -23,9 +23,9 @@ You can generate a token in SonarQube under My Account > Security
''')
os.sys.exit(1)
CONFIG = configparser.RawConfigParser(allow_no_value=True)
CONFIG.read(sq_ini)
sq_token = CONFIG.get('sq', 'token')
config = configparser.RawConfigParser()
config.read(sq_ini)
sq_token = config.get('sq', 'token')
session = requests.Session()
session.auth = (sq_token, '')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment