#!/usr/bin/python
import os
import sys

if "yandex-money" in os.environ['TRAVIS_REPO_SLUG']:
    encrypted_filename = "constants.js.enc.yamoney"
else:
    encrypted_filename = "constants.js.enc"

command = "openssl aes-256-cbc -K {} -iv {} -in {} -out test/constants.js -d".format(
              os.environ.get('encrypted_bd8aa6273b70_key', "key1"),
              os.environ.get('encrypted_bd8aa6273b70_iv', "key2"),
              encrypted_filename)

if(len(sys.argv) > 0 and sys.argv[1] == "debug"):
    print(command)
else:
    os.system(command)



#!/usr/bin/python
import os
import sys

if "yandex-money" in os.environ['TRAVIS_REPO_SLUG']:
    encrypted_filename = "constants.js.enc.yamoney"
else:
    encrypted_filename = "constants.js.enc"

command = "openssl aes-256-cbc -K {} -iv {} -in {} -out test/constants.js -d".format(
              os.environ.get('encrypted_bd8aa6273b70_key', "key1"),
              os.environ.get('encrypted_bd8aa6273b70_iv', "key2"),
              encrypted_filename)

if(len(sys.argv) > 1 and sys.argv[1] == "debug"):
    print(command)
else:
    os.system(command)



build fix