Skip to content

Commit

Permalink
Changed Windows specific filepaths to allow for Unix file systems as …
Browse files Browse the repository at this point in the history
…well.
  • Loading branch information
unknown authored and unknown committed Oct 30, 2015
1 parent ad1e209 commit b7e017c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BetterBookmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def get_current_file_name():

@staticmethod
def get_marks_filename():
directory = "{:s}\\User\\BetterBookmarks".format(sublime.packages_path())
directory = "{:s}/User/BetterBookmarks".format(sublime.packages_path())
if not os.path.exists(directory):
os.makedirs(directory)

return "{:s}\\{:s}-{:s}.bb_cache".format(directory, BBFunctions.get_variable("${file_base_name}"), BBFunctions.get_variable("${file_extension}"))
return "{:s}/{:s}-{:s}.bb_cache".format(directory, BBFunctions.get_variable("${file_base_name}"), BBFunctions.get_variable("${file_extension}"))

@staticmethod
def get_bb_file():
Expand Down

0 comments on commit b7e017c

Please sign in to comment.