diff --git a/game_backuper/cfapi.py b/game_backuper/cfapi.py index 047ae74..4ad1cdc 100644 --- a/game_backuper/cfapi.py +++ b/game_backuper/cfapi.py @@ -92,7 +92,9 @@ def hydrate_file(s: str): except OSError as e: if GetLastError() != ERROR_INVALID_FUNCTION: CfCloseHandle(h) - raise e + # File is not cloud file + if e.winerror != -2147024520: + raise e CfCloseHandle(h)