Skip to content

Commit

Permalink
Reformat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeecardona authored and Davidy22 committed Sep 24, 2021
1 parent dc0266c commit a84b557
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions guake/guake_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ def read_current_guake_yaml(self, vte) -> dict:

try:
if guake_yaml.is_file():
with guake_yaml.open(encoding='utf-8') as fd:
with guake_yaml.open(encoding="utf-8") as fd:
content = yaml.safe_load(fd)

except PermissionError:
Expand All @@ -1093,12 +1093,11 @@ def read_current_guake_yaml(self, vte) -> dict:
return {}

def compute_tab_title(self, vte):
"""Compute the tab title
"""
"""Compute the tab title"""

guake_yml = self.read_current_guake_yaml(vte)

if 'title' in guake_yml:
if "title" in guake_yml:
return guake_yml["title"]

vte_title = vte.get_window_title() or _("Terminal")
Expand Down

0 comments on commit a84b557

Please sign in to comment.