ui: rename Ui class to UrwidUserInterface

This commit is contained in:
rr-
2018-12-14 00:32:21 +01:00
parent 5545e2324a
commit e27f3470a4
15 changed files with 186 additions and 186 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ from pathlib import Path
import xdg
from pqcli.roster import Roster
from pqcli.ui import Ui
from pqcli.ui.urwid import UrwidUserInterface
SAVE_PATH = Path(xdg.XDG_CONFIG_HOME) / "pqcli" / "save.dat"
@@ -35,7 +35,7 @@ def main() -> None:
roster = Roster.load(SAVE_PATH)
try:
Ui(roster, args).run()
UrwidUserInterface(roster, args).run()
finally:
if args.use_saves:
roster.save()