aboutsummaryrefslogtreecommitdiff
path: root/win/show.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--win/show.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/win/show.py b/win/show.py
new file mode 100644
index 0000000..9558c87
--- /dev/null
+++ b/win/show.py
@@ -0,0 +1,10 @@
+from wb import get_config
+from js import JSON
+
+def main():
+ kv = get_config()
+ print JSON().encode(kv)
+
+# if we are run directly, and not loaded as a module
+if __name__ == "__main__":
+ main()