def getPathToLockIcon(self):
        if os.path.exists("lock.ico"): return "lock.ico"

        scriptPath = os.path.abspath(os.path.dirname(sys.argv[0]))
        scriptPath = os.path.join(scriptPath, "../share/sslstrip/lock.ico")

        if os.path.exists(scriptPath): return scriptPath

        logging.warning("Client:%s Error: Could not find lock.ico" % (self.getClientIP()))
        return "lock.ico"
dataset/ETHPy150Open sensepost/Snoopy/snoopy/server/bin/sslstripSnoopy/build/lib.linux-i686-2.7/sslstrip/ClientRequest.py/ClientRequest.getPathToLockIcon/original