Skip to content

Commit

Permalink
Update file.py
Browse files Browse the repository at this point in the history
  • Loading branch information
srdas committed Nov 14, 2024
1 parent b6dfaef commit d8df42f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/jupyter-ai/jupyter_ai/context_providers/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ def _make_path(self, path: str, is_abs: bool, is_dir: bool) -> str:
if is_dir:
path += "/"
return path

import os


def get_file_type(self, filepath):
"""
Determine the file type of the given file path.
Expand Down

0 comments on commit d8df42f

Please sign in to comment.