From 493ed813cf604202a8062497c9694908c1266fae Mon Sep 17 00:00:00 2001 From: Saul Pwanson Date: Tue, 31 Oct 2023 20:43:22 -0700 Subject: [PATCH] [save-] fix build --- visidata/modify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visidata/modify.py b/visidata/modify.py index f8ca7cc2d..3d521a25b 100644 --- a/visidata/modify.py +++ b/visidata/modify.py @@ -23,7 +23,7 @@ def couldOverwrite(vd) -> bool: def confirmOverwrite(vd, path, msg:str=''): 'Fail if file exists and overwrite not allowed.' if path.exists(): - msg = msg or f'{givenpath} exists. overwrite? ' + msg = msg or f'{path.given} exists. overwrite? ' ow = vd.options.overwrite if ow.startswith('c'): # confirm vd.confirm(msg)