diff --git a/jenkins/fm/dkdkd/djdj.txt b/jenkins/fm/dkdkd/djdj.txt new file mode 100644 index 0000000..e69de29 diff --git a/play_with_os/os_play.py b/play_with_os/os_play.py index ab69d7f..4f178c7 100755 --- a/play_with_os/os_play.py +++ b/play_with_os/os_play.py @@ -17,7 +17,9 @@ def show_all_files_directory(dir_path = str, search_endung = False, search_strin return li_all def simple_files(dir_path): - return os.listdir(dir_path) + files = os.listdir(dir_path) + return [f for f in files if os.path.isfile(dir_path + '/'+f)] + def main(check_list = list, main_folder_in = str): output_list = []