From f8bbf80c5aff74b7047542c018abd7c342786883 Mon Sep 17 00:00:00 2001 From: leha-code Date: Fri, 5 Aug 2022 11:26:52 -0400 Subject: [PATCH] Format with Black --- planet/main.py | 7 ++++--- planet/splashes.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/planet/main.py b/planet/main.py index 74c4531..6df9944 100644 --- a/planet/main.py +++ b/planet/main.py @@ -57,8 +57,9 @@ try: ).gettext except: _ = gettext.translation( - "main", localedir=str(absolute_path) + "/assets/translations/", languages=["en_US.UTF-8 -"] + "main", + localedir=str(absolute_path) + "/assets/translations/", + languages=["en_US.UTF-8"], ).gettext # Local imports @@ -87,7 +88,7 @@ dark_stylesheet = qdarktheme.load_stylesheet() USER = os.getenv("USER") # Get the username, used for later -if USER == 'root': +if USER == "root": raise Exception("Don't run Planet as root.") # Create the mods directory if it does not exist diff --git a/planet/splashes.py b/planet/splashes.py index 26831b6..78a67df 100644 --- a/planet/splashes.py +++ b/planet/splashes.py @@ -99,7 +99,7 @@ SPLASHES = [ "YOU SHPEAK WHEN SHPOKEN TO!", "SSHHUT UP!", "You were exclusively banned from the deep dark!", - "We got the enchanter!", + "We got the enchanter!", "S tier!", "Kraineff is a thief", "Top 10 Bdubs rage collection!",