diff --git a/pupy/pupysh.py b/pupy/pupysh.py index 2437fdbd..03f86932 100755 --- a/pupy/pupysh.py +++ b/pupy/pupysh.py @@ -29,6 +29,7 @@ import traceback import argparse import os import os.path +import sys import network.conf from pupylib import PupyServer @@ -39,6 +40,10 @@ from pupylib import __version__ from network.lib.igd import IGDClient, UPNPError +sys.path.append( + os.path.join(os.path.abspath(os.path.dirname(__file__)), 'external', 'scapy') +) + def print_version(): print("Pupy - %s"%(__version__))