Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
‘SublimeServer not defined’
  • Loading branch information
learning committed Nov 24, 2014
1 parent 2d61dcb commit 8a44dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SublimeServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ def translate_path(self, path):
elif path == '/markdown.js':
return sublime.packages_path() + "/SublimeServer/markdown.js"

if SublimeServer.base_path:
path = SublimeServer.base_path + path
if SublimeServerHandler.base_path:
path = SublimeServerHandler.base_path + path

# else, deal with path...
words = path.split('/')
Expand Down

0 comments on commit 8a44dce

Please sign in to comment.