git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
026a9fa
)
Print the path to the current folder if outputsubfolder is an empty string.
author
Steven Black
<redacted>
Sun, 13 Jul 2025 02:16:23 +0000
(22:16 -0400)
committer
Steven Black
<redacted>
Sun, 13 Jul 2025 02:16:23 +0000
(22:16 -0400)
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index f08dfcf437b48346762d1e9382366865c7abf9b8..a350fe867ef394c973fce3311bda0b24fd657dec 100755
(executable)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-327,7
+327,7
@@
def main():
print_success(
"Success! The hosts file has been saved in folder "
- +
outputsubfolder
+ +
(outputsubfolder if outputsubfolder else "./")
+ "\nIt contains "
+ "{:,}".format(numberofrules)
+ " unique entries."
git clone https://git.99rst.org/PROJECT