piwik/piwik — pull request #94 by thielena (2013-08-01 12:03:16+00:00)
Title: Checking if format is not nil before logging

Hi there,

for some reason, when type of the variable `format` won't change, the type will be still `None`. Doing the logging call in method `detect_format`, which is intend to log the `format.name`, leads to an exception, causing to freeze the python script.

I just added a checking condition in method `detect_format `.

Regards,
Andreas