Fixed python framework problem