Skip to content
Permalink
Browse files

Add ../pybot path for non venv exectuion.

  • Loading branch information
raelga committed Apr 24, 2017
1 parent d0c3b65 commit 4698912b093574e860e9462c89a0a212d559d034
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/pybot
@@ -19,6 +19,8 @@ PARENT_FOLDER = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))

if os.path.isdir(os.path.join(PARENT_FOLDER, '.venv')):
sys.path.insert(0, PARENT_FOLDER)
else:
sys.path.append('../pybot')

from pybot.interfaces import telegram

0 comments on commit 4698912

Please sign in to comment.
You can’t perform that action at this time.