Format with Black

This commit is contained in:
leha-code 2022-08-05 11:26:52 -04:00
parent d4007d3852
commit f8bbf80c5a
No known key found for this signature in database
GPG Key ID: 15227A6455DDF7EE
2 changed files with 5 additions and 4 deletions

View File

@ -57,8 +57,9 @@ try:
).gettext ).gettext
except: except:
_ = gettext.translation( _ = 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 ).gettext
# Local imports # Local imports
@ -87,7 +88,7 @@ dark_stylesheet = qdarktheme.load_stylesheet()
USER = os.getenv("USER") # Get the username, used for later USER = os.getenv("USER") # Get the username, used for later
if USER == 'root': if USER == "root":
raise Exception("Don't run Planet as root.") raise Exception("Don't run Planet as root.")
# Create the mods directory if it does not exist # Create the mods directory if it does not exist

View File

@ -99,7 +99,7 @@ SPLASHES = [
"YOU SHPEAK WHEN SHPOKEN TO!", "YOU SHPEAK WHEN SHPOKEN TO!",
"SSHHUT UP!", "SSHHUT UP!",
"You were exclusively banned from the deep dark!", "You were exclusively banned from the deep dark!",
"We got the enchanter!", "We got the enchanter!",
"S tier!", "S tier!",
"Kraineff is a thief", "Kraineff is a thief",
"Top 10 Bdubs rage collection!", "Top 10 Bdubs rage collection!",