From 7d1766d3e28c71db8412da9b0c3987e8f8657d4e Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Thu, 18 Jul 2019 14:47:28 +0200 Subject: [PATCH] Add config.yml example --- wmn.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wmn.py b/wmn.py index bf73785..de7c064 100644 --- a/wmn.py +++ b/wmn.py @@ -4,6 +4,15 @@ from matrix_client.client import MatrixClient app = Flask(__name__) +""" +config.yml Example: + +secret: "..." +matrix: + server: matrix.org + username: ... + password: "..." +""" with open("config.yml", 'r') as ymlfile: cfg = yaml.safe_load(ymlfile)