Skip to content

Commit

Permalink
Merge pull request #1741 from mmeah/dev
Browse files Browse the repository at this point in the history
Insert py file to sys path first to avoid confusing second instance f…
  • Loading branch information
ccrisan authored May 11, 2020
2 parents 9e9951a + 99cd37d commit 69334ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motioneye/meyectl.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import sys

# make sure motioneye is on python path
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.insert(0,os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

import settings

Expand Down

0 comments on commit 69334ae

Please sign in to comment.