|
import helper.file_helper as fh
|
|
|
|
app_config_path = '/gs/config/app.py'
|
|
|
|
def write_token(token):
|
|
print("Write new token: " + token)
|
|
fh.replace_value(app_config_path, 'token', '"' + token + '"')
|
|
#with open(app_config_path, "a") as app_config:
|
|
# app_config.write(token)
|