pyarrow fix, #216

pull/226/head
AlUlkesh 2023-07-22 18:12:13 +02:00
parent f42ada4007
commit be53a38306
1 changed files with 3 additions and 1 deletions

View File

@ -47,9 +47,11 @@ except ImportError:
try:
import ImageReward
import pyarrow._s3fs
pyarrow._s3fs.finalize_s3()
image_reward_installed = True
except ImportError as e:
print("Image Browser: ImageReward is not installed, cannot be used.")
print("Image Browser: ImageReward components are not installed, cannot be used.")
print(e)
image_reward_installed = False