denull / RemoteTree

Sublime Text 3 plugin for browsing remote file tree via SFTP
23 stars 12 forks source link

Failed initialize after copied to packages folder #9

Closed creator4ever closed 6 years ago

creator4ever commented 6 years ago

ST's panel thrown error like 'is_enabled must be boolean'

For handle this error, open remote-tree.py file and edit function is_enabled on ConnectCommand class.

def is_enabled(self):
    global servers
    return bool(servers) and len(servers) > 0