Any court or judge awarding a writ of habeas corpus, directed to a member of the General Assembly, shall have power to compel obedience to such writ. History Code 1919, § 301.