Skip to content

Commit

Permalink
Merge pull request #242 from mwang87/file-size-symlinks
Browse files Browse the repository at this point in the history
bug fix to make sure when symlinks its also ok
  • Loading branch information
mwang87 authored Aug 15, 2023
2 parents 77b30de + fb93319 commit 63cbbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massql/msql_fileloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _determine_cache_filename_prefix(input_filename, cache_dir=None, cache_file=

if cache_dir is not None:
# Calculate the file size of the input_filename
input_file_size = os.path.getsize(input_filename)
input_file_size = os.stat(input_filename).st_size

# Use a hashing that takes into account the file size and filename
namespace = uuid.UUID('6ba7b810-9dad-11d1-80b4-00c04fd430c8')
Expand Down

0 comments on commit 63cbbe7

Please sign in to comment.