Skip to content

Commit

Permalink
Merge pull request #214 from DedSecInside/fix_tree_features
Browse files Browse the repository at this point in the history
Fix the basic functionality of tree features
  • Loading branch information
KingAkeem authored Jul 9, 2021
2 parents f95eacc + 663523d commit 41a2d9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def save(self, file_name, tree_style=default_style):
tree_style (TreeStyle): Styling of downloaded tree
"""
self._tree.layout_fn = default_layout
self._tree.render(file_name, tree_style)
self._tree.render(file_name, tree_style=tree_style)

def show(self, tree_style=default_style):
"""
Expand Down
4 changes: 4 additions & 0 deletions src/modules/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ def __init__(self, link):
self._loaded = False
self._name = link
self._link = link
self._emails = []
self._images = []
self._children = []
self._json_data = {}

def load_data(self):
response = requests.get(self._link)
Expand Down

0 comments on commit 41a2d9f

Please sign in to comment.