Added todo

This commit is contained in:
Rudi Grinberg 2012-10-29 11:42:24 -04:00
parent 31a7b8f943
commit 3cec987d10
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ import traceback
AIRTIME_VERSION = "2.2.0"
# TODO : Place these functions in some common module. Right now, media
# monitor uses the same functions and it would be better to reuse them
# instead of copy pasting them around
def to_unicode(obj, encoding='utf-8'):
if isinstance(obj, basestring):
if not isinstance(obj, unicode):