Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/output.py
diff options
context:
space:
mode:
authorSecondThundeR <awayfromgalaxy@gmail.com>2021-04-27 15:14:28 +0300
committerSecondThundeR <awayfromgalaxy@gmail.com>2021-04-27 15:14:28 +0300
commit985b7fac3ff400de9954d441480ab795222f4b24 (patch)
tree2c9f18e362bad5650abbde7add125cb631aa4ebc /archinstall/lib/output.py
parentf5b6e7bafead1f604c27bfb31b84f3f560a682c8 (diff)
Revert "Update logging for some functions"
This reverts commit f5b6e7bafead1f604c27bfb31b84f3f560a682c8. Reverting commit due to currently redundant change and merge conflict
Diffstat (limited to 'archinstall/lib/output.py')
-rw-r--r--archinstall/lib/output.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py
index eb23faf4..6b184b4b 100644
--- a/archinstall/lib/output.py
+++ b/archinstall/lib/output.py
@@ -100,12 +100,12 @@ def log(*args, **kwargs):
Path(absolute_logfile).parents[0].mkdir(exist_ok=True, parents=True)
except PermissionError:
# Fallback to creating the log file in the current folder
- err_string = f" * Not enough permission to place log file at {absolute_logfile}, creating it in {Path('./').absolute()/filename} instead * "
+ err_string = f"Not enough permission to place log file at {absolute_logfile}, creating it in {Path('./').absolute()/filename} instead."
absolute_logfile = Path('./').absolute()/filename
absolute_logfile.parents[0].mkdir(exist_ok=True)
absolute_logfile = str(absolute_logfile)
storage['LOG_PATH'] = './'
- log(err_string, fg='red')
+ log(err_string, fg="red")
Path(absolute_logfile).touch() # Overkill?