dotfm

My dotfile manager
git clone git://src.gearsix.net/dotfm
Log | Files | Refs | Atom | README | LICENSE

commit 4400205b685f7d4ef691631a18d024da85f90937
parent 687ac44a4c625c993a7cbcccf5f019338f1346c8
Author: GeaRSiX <gearsix@tuta.io>
Date:   Tue, 28 Jul 2020 15:31:04 +0100

fix to install appending DOTFM_CSV_FILE rows

Diffstat:
Msrc/dotfm.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/dotfm.py b/src/dotfm.py @@ -203,10 +203,9 @@ def dotfm_install(dotfile_source): os.system('ln -vs {} {}'.format(dotfile_source, dest)) # append to DOTFILE_CSV_FILE and INSTALLED_DOTFILES log_info('appending to installed dotfiles...') - with open(DOTFM_CSV_FILE, "a", newline='\n', encoding='utf-8') as dotfm_csv_file: + with open(DOTFM_CSV_FILE, "a") as dotfm_csv_file: dotfm_csv = csv.writer(dotfm_csv_file) dotfm_csv.writerow(dfl) - dotfm_csv_file.write('\n') dotfm_csv_file.close() INSTALLED_DOTFILES.append(dfl) break