Merge pull request #16936 from ron-ulitsky/patch-1
This commit is contained in:
commit
3234ad4a8e
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ class ImportFile:
|
|||
######
|
||||
|
||||
def read_file(self, file_path):
|
||||
extn = file_path.split(".")[1]
|
||||
extn = os.path.splitext(file_path)[1][1:]
|
||||
|
||||
file_content = None
|
||||
with io.open(file_path, mode="rb") as f:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue