mirror of
https://github.com/ihabunek/toot
synced 2025-02-03 20:57:38 +01:00
Move curses app into toot.ui module
This commit is contained in:
parent
6149c9beda
commit
e421d24c80
@ -64,7 +64,7 @@ def timeline(app, user, args):
|
|||||||
|
|
||||||
|
|
||||||
def curses(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):
|
if not args.public and (not app or not user):
|
||||||
raise ConsoleError("You must be logged in to view the home timeline.")
|
raise ConsoleError("You must be logged in to view the home timeline.")
|
||||||
|
0
toot/ui/__init__.py
Normal file
0
toot/ui/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user