Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
doomedraven committed Dec 29, 2023
1 parent 9a17358 commit c972a9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion installer/cape2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ librenms_megaraid_enable=0
# disabling this will result in the web interface being disabled
MONGO_ENABLE=1

DIE_VERSION="3.08"
DIE_VERSION="3.09"

TOR_SOCKET_TIMEOUT="60"

Expand Down
2 changes: 2 additions & 0 deletions lib/cuckoo/common/demux.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def is_valid_type(magic: str) -> bool:

def is_valid_package(package: str) -> bool:
# check if the file has a valid package type
if not package:
return False
return any(ptype in package for ptype in VALID_PACKAGES)


Expand Down

0 comments on commit c972a9b

Please sign in to comment.