mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
@@ -1335,8 +1335,6 @@ def ask_file_overwrite(file_path: str) -> Tuple[bool, bool]:
|
||||
# Jeroen asked for a flag to overwrite no matter what
|
||||
if obbff.FILE_OVERWITE:
|
||||
return False, True
|
||||
if os.environ.get("TEST_MODE") == "True":
|
||||
return False, True
|
||||
if os.path.exists(file_path):
|
||||
overwrite = input("\nFile already exists. Overwrite? [y/n]: ").lower()
|
||||
if overwrite == "y":
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user