mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-10-11 02:08:54 +02:00
Week 4-BN: guard the console snippets against bv being None
Every console snippet derives the repo path from bv.file.original_filename, so with no database open bv is None and it fails with 'NoneType has no attribute file'. Add 'assert bv is not None, "Open the .bndb first..."' to all 12 snippets so the failure is explicit.
This commit is contained in:
1 parent
5225f47ecf
commit
fae2ffc938
2 files changed
+12
No files matched your search
Binary file not shown.
Reference in new issue
Block a user