Skip to content

Commit

Permalink
⬆️ optional package support
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed Jun 7, 2019
1 parent 0ec369d commit aafd5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdlib/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from contextlib import contextmanager
try:
import igraph as ig
except ImportError:
except ModuleNotFoundError:
ig = None

import networkx as nx
Expand Down

0 comments on commit aafd5f7

Please sign in to comment.