Nope. "Weapon" is a defined term in Maryland law:
"Weapon" includes a dirk knife, bowie knife, switchblade knife, star knife, sandclub, metal knuckles, razor, and nunchaku.
"Weapon" does not include:
1. a handgun; or
2. a penknife without a switchblade.
So, if it was not a switchblade, it was likely not covered by the statute.
Alright, if that is what the law states, then that's what it sates. However, I can't see how they could classify nunchaku as a dangerous weapon! (I can spin them just like Nick here can :D)