Skip to content

Commit

Permalink
fix: msg title error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishang committed Jun 19, 2022
1 parent 0ea01a6 commit 25b5b19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions getlooks/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from bs4 import BeautifulSoup

# local
from getlooks.utils import show_table, message, logger
from getlooks.utils import show_table, rprint, logger
from getlooks.looks_path import DESK_THEME_PATH, STATE_PATH


Expand Down Expand Up @@ -131,9 +131,9 @@ def env_prompt(self):
os.makedirs(self.state_file.parent)

logger.error("Can't figureout desktop environment")
message.title(
"Which one is your desktop environment ?\n"
"\nChoose you desktop environment id, \nExample: 1 for gnome\n"
rprint(
"[yellow]Which one is your desktop environment ?\n"
"\nChoose you desktop environment id,[reset] \nExample: 1 for gnome\n"
)
show_table([self.valid_env], title="Select desktop environment")

Expand Down
3 changes: 2 additions & 1 deletion getlooks/looks.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
show_table,
logger,
console,
message
)

from getlooks.core import (
ProductInfo,
DeskEnv,
scrapGnomeLooks,
message,
product_state_cache,
path_for,
)
Expand Down

0 comments on commit 25b5b19

Please sign in to comment.