Skip to content

Commit

Permalink
🎨 Format Python code with Black, and Bash code with Shfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin authored and github-actions[bot] committed Feb 25, 2025
1 parent 8720d93 commit fac0900
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ def tools_regen_conf(

from yunohost.regenconf import regen_conf

if (names == [] or "nftables" in names) and tools_migrations_state()["migrations"].get("0032_firewall_config") not in ["skipped", "done"]:
if (names == [] or "nftables" in names) and tools_migrations_state()[
"migrations"
].get("0032_firewall_config") not in ["skipped", "done"]:
# Make sure the firewall conf is migrated before running the regenconf,
# otherwise the nftable regenconf wont work
try:
Expand Down

0 comments on commit fac0900

Please sign in to comment.