#! /usr/bin/env python
"""Get default encoding
- Written by Oleg Broytman. Copyright (C) 2007, 2008 PhiloSoft Design.
+ Written by Oleg Broytman. Copyright (C) 2007-2016 PhiloSoft Design.
"""
__all__ = ['default_encoding']
print >>sys.stderr, "WARNING:", err
lcAll = []
- if len(lcAll) == 2:
+ if len(lcAll) == 2 and lcAll[0] is not None:
default_encoding = lcAll[1]
else:
try: