Skip to content

Commit

Permalink
remove useless methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhij Andreev committed Sep 26, 2023
1 parent e5d6ac4 commit 8303953
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,3 @@ def load(path):
with open(file_path) as f:
data = f.read()
return loads(data)


def exist(path):
this_dir, this_filename = os.path.split(__file__)
file_path = os.path.join(this_dir, path)
return os.path.exists(file_path)


def get_dir_files(path):
this_dir, this_filename = os.path.split(__file__)
dir_path = os.path.join(this_dir, path)
return next(walk(dir_path), (None, None, []))[2]

0 comments on commit 8303953

Please sign in to comment.