From 4963339b3414e089cb1b8d39bf41eecdebd8f820 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Thu, 7 Sep 2023 11:53:39 +0300 Subject: [PATCH] fix --- .idea/keenetic-dpr-bypass.iml | 2 ++ main.py | 3 +-- requirements.txt | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.idea/keenetic-dpr-bypass.iml b/.idea/keenetic-dpr-bypass.iml index 8dcaca7..0b4f0b3 100644 --- a/.idea/keenetic-dpr-bypass.iml +++ b/.idea/keenetic-dpr-bypass.iml @@ -2,6 +2,8 @@ + + diff --git a/main.py b/main.py index 62a322a..e99edeb 100644 --- a/main.py +++ b/main.py @@ -9,8 +9,7 @@ import os import sys parent_dir = os.path.abspath(os.path.dirname(__file__)) -vendor_dir = os.path.join(parent_dir, 'vendor') - +vendor_dir = os.path.join(parent_dir, 'vendor/lib/python2.7/site-packages') sys.path.append(vendor_dir) from netaddr import IPNetwork diff --git a/requirements.txt b/requirements.txt index 19f5ece..e69de29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +0,0 @@ -netaddr~=0.8.0 \ No newline at end of file