Skip to content

Commit

Permalink
Fixing self.path to work in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nagaozen committed Jun 6, 2010
1 parent 292d997 commit 04fc5c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autocomplete/settings.py
Expand Up @@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import gedit
import json
import os.path

Expand All @@ -24,7 +25,7 @@ def __init__(self, caller):
self._caller = caller

self.source = "MIXED"
self.path = "~/.gnome2/gedit/plugins/autocomplete/"
self.path = gedit.Plugin.get_data_dir(caller._plugin) + "/"

self._persistenceService = PersistenceService(self)

Expand Down

0 comments on commit 04fc5c1

Please sign in to comment.