Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking if format is not nil before logging #94

Merged
merged 1 commit into from Aug 1, 2013

Conversation

ghost
Copy link

@ghost ghost commented Aug 1, 2013

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

mattab pushed a commit that referenced this pull request Aug 1, 2013
Checking if format is not nil before logging. Thanks for the PR!
@mattab mattab merged commit b57ead7 into matomo-org:master Aug 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant