minor fix

This commit is contained in:
Xuan Sang LE
2018-01-28 17:55:21 +01:00
parent 60bae901a0
commit bd515642cd
3 changed files with 6 additions and 4 deletions

View File

@ -29,7 +29,7 @@ class BasicFileHandler
setPath: (p) ->
@ready = false
return unless p
@path = p
@path = p.toString()
list = @path.split ":///"
@protocol = list[0]
return unless list.length > 1