You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd"D:/Sanctum/flashrecord"# Fix compression.py
sed -i 's/for i, f in enumerate(frames):/for _, f in enumerate(frames):/g' src/flashrecord/compression.py
# Fix manager.py
sed -i 's/^ except:$/ except Exception:/g' src/flashrecord/manager.py
sed -i 's/for root, _, files in os.walk(self.save_dir):/for _root, _, files in os.walk(self.save_dir):/g' src/flashrecord/manager.py
# Fix api.py
sed -i 's/result = cli.handle_command/cli.handle_command/g' src/flashrecord/api.py
sed -i 's/raise HTTPException(status_code=500, detail=str(e))/raise HTTPException(status_code=500, detail=str(e)) from e/g' src/flashrecord/api.py