Merge pull request #20839 from rallytime/bp-20608

Backport #20608 to 2014.7
This commit is contained in:
Nicole Thomas 2015-02-19 13:07:45 -07:00
commit e0ba92f631

View File

@ -105,7 +105,8 @@ class Serial(object):
'''
data = fn_.read()
fn_.close()
return self.loads(data)
if data:
return self.loads(data)
def dumps(self, msg):
'''