Fix unicode warning when unloading buffer on Python 2
This commit is contained in:
parent
2afc0d5f5f
commit
1e935db4b7
@ -374,7 +374,9 @@ class YouCompleteMe( object ):
|
||||
|
||||
|
||||
def OnBufferUnload( self, deleted_buffer_file ):
|
||||
SendEventNotificationAsync( 'BufferUnload', filepath = deleted_buffer_file )
|
||||
SendEventNotificationAsync(
|
||||
'BufferUnload',
|
||||
filepath = utils.ToUnicode( deleted_buffer_file ) )
|
||||
|
||||
|
||||
def OnBufferVisit( self ):
|
||||
|
Loading…
Reference in New Issue
Block a user