From 3263682707e231fb62b2083ffd705c927d3b59a5 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 22 Aug 2025 12:17:11 +0200 Subject: [PATCH] use version file, bump to 0.9.1 --- deefuzzer/__init__.py | 2 -- deefuzzer/core.py | 8 ++++---- setup.py | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/deefuzzer/__init__.py b/deefuzzer/__init__.py index e643718..f1efe79 100644 --- a/deefuzzer/__init__.py +++ b/deefuzzer/__init__.py @@ -1,5 +1,3 @@ from .core import * from .station import * from .tools import * - -__version__ = '0.9.0' diff --git a/deefuzzer/core.py b/deefuzzer/core.py index 061139c..60d1a0f 100644 --- a/deefuzzer/core.py +++ b/deefuzzer/core.py @@ -34,7 +34,7 @@ from threading import Thread from .station import * from .tools import * -from .__init__ import __version__ +from .version import __version__ mimetypes.add_type('application/x-yaml', '.yaml') mimetypes.add_type('application/x-yaml', '.yml') @@ -54,10 +54,10 @@ class DeeFuzzer(Thread): ignore_errors = False max_retry = 0 - def __init__(self, conf_file): + def __init__(self, args): Thread.__init__(self) - self.conf_file = conf_file - self.conf = get_conf_dict(self.conf_file) + self.config_file = args.config_file + self.conf = get_conf_dict(self.config_file) # print(self.conf) if 'deefuzzer' not in self.conf : diff --git a/setup.py b/setup.py index 27e4aed..c4221d4 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( long_description=open('README.rst').read(), author="Guillaume Pellerin", author_email="yomguy@parisson.com", - version='0.9.0', + version='0.9.1', install_requires=[ 'setuptools', 'wheel', -- 2.47.3