Skip to content

Commit

Permalink
Add local pyacd to path, regardless of working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanolofsson committed Apr 9, 2015
1 parent 9e7977f commit 8a55a76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion acd
Expand Up @@ -15,11 +15,13 @@ import os.path
import pickle
import tempfile

_THIS_DIR = os.path.dirname(os.path.realpath(__file__))

try:
import pyacd
except ImportError:
from sys import path
path.append('pyacd')
path.append(os.path.join(_THIS_DIR, 'pyacd'))
import pyacd

fuse.fuse_python_api = (0, 2)
Expand Down

0 comments on commit 8a55a76

Please sign in to comment.