Skip to content

Commit

Permalink
Update demux.py
Browse files Browse the repository at this point in the history
  • Loading branch information
doomedraven committed Sep 18, 2024
1 parent e308122 commit 9a152e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/cuckoo/common/demux.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
from lib.cuckoo.common.utils import get_options, sanitize_filename

sfFile = False
sf_version = ""
# sf_version = ""
try:
from sflock import __version__ as sf_version
# from sflock import __version__ as sf_version
from sflock import unpack
from sflock.abstracts import File as sfFile
from sflock.exception import UnpackException
Expand All @@ -29,8 +29,8 @@
print("\n\n[!] Missing dependencies. Run: poetry install\n\n")
HAS_SFLOCK = False

if sf_version and int(sf_version.split(".")[-1]) < 42:
print("You are using an old version of sflock! Upgrade: poetry install")
# if sf_version and int(sf_version.split(".")[-1]) < 42:
# print("You are using an old version of sflock! Upgrade: poetry install")

log = logging.getLogger(__name__)
cuckoo_conf = Config()
Expand Down

0 comments on commit 9a152e2

Please sign in to comment.