From e421d24c803f8b6a2303905ee26e515c58b8ed01 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Sat, 6 Jan 2018 11:56:52 +0100 Subject: [PATCH] Move curses app into toot.ui module --- toot/commands.py | 2 +- toot/ui/__init__.py | 0 toot/{ => ui}/app.py | 0 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 toot/ui/__init__.py rename toot/{ => ui}/app.py (100%) diff --git a/toot/commands.py b/toot/commands.py index c9b3674..d80135e 100644 --- a/toot/commands.py +++ b/toot/commands.py @@ -64,7 +64,7 @@ def timeline(app, user, args): def curses(app, user, args): - from toot.app import TimelineApp + from toot.ui.app import TimelineApp if not args.public and (not app or not user): raise ConsoleError("You must be logged in to view the home timeline.") diff --git a/toot/ui/__init__.py b/toot/ui/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/toot/app.py b/toot/ui/app.py similarity index 100% rename from toot/app.py rename to toot/ui/app.py