Update file_operations.py

fixed linting
pull/992/head
Maiko Bossuyt 2023-04-14 10:35:52 +02:00 committed by GitHub
parent 6403bf1127
commit c0462dbe77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ def split_file(content, max_length=4000, overlap=0):
yield chunk
start += max_length - overlap
def read_file(filename):
"""Read a file and return the contents"""
try: