Created
May 15, 2019 20:08
-
-
Save eagleEggs/7426d8dcc07acd0b5f35131c029db880 to your computer and use it in GitHub Desktop.
quick JSON dump setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
config = { | |
# inputs: | |
'platform': 'Firefox', | |
'url': 'https://yahoo.com', | |
'title': 'Testing', | |
'engineer': '', | |
'repository': 'c:', | |
'database_ip': '', | |
'database_port': '3306', | |
'database_name': '', | |
'database_username': '', | |
'database_password': '', | |
'email_from': '', | |
'email_to': '', | |
'email_username': '', | |
'email_password': '', | |
# checkboxes: | |
'sql': '1', # SQL database connection | |
'sl': '1', # sideload mods usage | |
'email_check': '0', | |
'graph_check': '0', | |
'pdf_check': '1', | |
'html_check': '1' | |
} | |
with open("database/ta.config", 'w') as config_file: | |
json.dump(config, config_file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment