diff --git a/youtube_dl/extractor/sonyliv.py b/youtube_dl/extractor/sonyliv.py
index 0e890f909..8307c5f20 100644
--- a/youtube_dl/extractor/sonyliv.py
+++ b/youtube_dl/extractor/sonyliv.py
@@ -5,12 +5,14 @@ import time
 import uuid
 
 from .common import InfoExtractor
-from ..compat import compat_HTTPError
+from ..compat import (
+    compat_HTTPError,
+    compat_str
+)
 from ..utils import (
     ExtractorError,
     int_or_none,
-    try_get,
-    compat_str
+    try_get
 )