Change to bool for clarity. The log message would sometimes only show up at the end, which is misleading; use the logging module, which harmonizes log statements and should make this appear immediately.
Change to bool for clarity. The log message would sometimes only show up at the end, which is misleading; use the logging module, which harmonizes log statements and should make this appear immediately.