Fix AttributeError in offline compression
Merge pull request #554 from cbjadwani/Fix_AttributeError_in_offline_compression

Fix AttributeError in offline compression