Comment 2 for bug 1315064

Ian Stakenvicius (axs-h) wrote :

The following modifies get_system_locale() to return None if locale is 'C'.

Since this function is only used in two places, the first being the place that triggers the error above, and the second being within 'get_lang()', upon which a 'None' value sets the lang to 'en', I think this patch is probably sufficient to fix the issue.