From: Steven Black Date: Sun, 13 Jul 2025 02:16:23 +0000 (-0400) Subject: Print the path to the current folder if outputsubfolder is an empty string. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=8ae357794a7b8c45b7daec2272fdafb37b7814c3;p=stevenblack-hosts.git Print the path to the current folder if outputsubfolder is an empty string. --- diff --git a/updateHostsFile.py b/updateHostsFile.py index f08dfcf43..a350fe867 100755 --- 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."