mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 17:32:31 -05:00
Black formatting for generate_strings.py and docs/conf.py (#1658)
* Black formatting for generate_strings.py * Also add docs/conf.py
This commit is contained in:
@@ -12,7 +12,11 @@ def main():
|
||||
if "locales" in os.listdir(os.path.join("redbot/cogs", d)):
|
||||
os.chdir(os.path.join("redbot/cogs", d, "locales"))
|
||||
if "regen_messages.py" not in os.listdir(os.getcwd()):
|
||||
print("Directory 'locales' exists for {} but no 'regen_messages.py' is available!".format(d))
|
||||
print(
|
||||
"Directory 'locales' exists for {} but no 'regen_messages.py' is available!".format(
|
||||
d
|
||||
)
|
||||
)
|
||||
exit(1)
|
||||
else:
|
||||
print("Running 'regen_messages.py' for {}".format(d))
|
||||
|
||||
Reference in New Issue
Block a user