diff options
Diffstat (limited to '')
-rw-r--r-- | win/show.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/win/show.py b/win/show.py index cc41715..ac56e98 100644 --- a/win/show.py +++ b/win/show.py @@ -1,9 +1,9 @@ from wb import get_config -from js import JSON
-
-def main():
+from js import JSON + +def main(): print JSON().encode(get_config()) -
-# if we are run directly, and not loaded as a module
-if __name__ == "__main__":
- main()
+ +# if we are run directly, and not loaded as a module +if __name__ == "__main__": + main() |