This repository has been archived on 2022-02-23. You can view files and clone it, but cannot push or open issues or pull requests.
lets/secret/achievements/install/init.py

21 lines
356 B
Python
Raw Permalink Normal View History

2018-12-09 05:15:56 +00:00
import db
def run():
db.run()
def setup_args():
db.make_connect(
{
"host": input("Host: "),
"user": input("User: "),
"passwd": input("Password: "),
"db": input("Database: ")
}
)
def pass_args(obj):
db.make_connect(obj)
if __name__ == "__main__":
setup_args()
run()