diff --git a/shared/actions.py b/shared/actions.py index 57933088..bb0a4e7b 100644 --- a/shared/actions.py +++ b/shared/actions.py @@ -1643,7 +1643,7 @@ async def file_picker(msg, suffix=None, min_size=1, max_size=1000000, taster=Non if taster is not None: try: yummy = taster(full_fname) - except IOError: + except OSError: #print("fail: %s" % full_fname) yummy = False