Skip to content

Commit 73ec640

Browse files
committed
Fix a small bug on the index selection
1 parent 8c6065b commit 73ec640

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fedivertex/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def get_graph(
170170
"You must provide either the date or the index of the graph, not both."
171171
)
172172

173-
if index:
173+
if index is not None:
174174
date = self._fetch_date_index(software, graph_type, index)
175175

176176
if index is None and date is None:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="fedivertex",
9-
version="0.9.7",
9+
version="0.9.8",
1010
author="Marc DAMIE",
1111
author_email="marc.damie@inria.fr",
1212
description="Interface to download and interact with Fedivertex, the Fediverse Graph Dataset",

0 commit comments

Comments
 (0)