浏览代码

clear code

Marino Faggiana 6 年之前
父节点
当前提交
bed208154b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      iOSClient/Viewer/NCViewerMedia.swift

+ 2 - 2
iOSClient/Viewer/NCViewerMedia.swift

@@ -137,12 +137,12 @@ class NCViewerMedia: NSObject {
         }
     
         KTVHTTPCache.tokenSetURLFilter { (url) -> URL? in
-            print("URL Filter reviced URL : \(url!)")
+            print("URL Filter reviced URL : " + String(describing: url))
             return url
         }
         
         KTVHTTPCache.downloadSetUnsupportContentTypeFilter { (url, contentType) -> Bool in
-            print("Unsupport Content-Type Filter reviced URL : \(url!) \(contentType!)")
+            print("Unsupport Content-Type Filter reviced URL : " + String(describing: url) + " " + String(describing: contentType))
             return false
         }
     }