From 2c2ca05418a74b4c2bce60abf7818ef06aed6fb4 Mon Sep 17 00:00:00 2001 From: James Simmons <53658028+simmonsj330@users.noreply.github.com> Date: Wed, 5 Oct 2022 12:33:11 -0400 Subject: [PATCH] remverting back a version for better fix (#2717) --- openbb_terminal/core/config/paths_helper.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/openbb_terminal/core/config/paths_helper.py b/openbb_terminal/core/config/paths_helper.py index ab42a3b697b..0625238996d 100644 --- a/openbb_terminal/core/config/paths_helper.py +++ b/openbb_terminal/core/config/paths_helper.py @@ -1,6 +1,4 @@ # IMPORTATION STANDARD -import os -import shutil from typing import List from openbb_terminal.core.config.paths import ( @@ -14,7 +12,6 @@ from openbb_terminal.core.config.paths import ( PRESETS_DIRECTORY, ROUTINES_DIRECTORY, DATA_SOURCES_DEFAULT_FILE, - REPOSITORY_DIRECTORY, ) # pylint: disable=W0603 @@ -39,13 +36,7 @@ def create_files(list_files: List): for filename in list_files: if not filename.is_file(): with open(str(filename), "w"): - if filename == DATA_SOURCES_DEFAULT_FILE: - filesize = os.path.getsize(filename) - if filesize == 0: - shutil.copyfile( - REPOSITORY_DIRECTORY / "data_sources_default.json", - filename, - ) + pass dirs_list = [