Skip to content

Commit b9470c9

Browse files
committed
Fix activity to SDF for sqlite backend
1 parent b543d8e commit b9470c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

activity_browser/actions/activity/activity_sdf_to_clipboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def run(activities: List[tuple | int | bd.Node]):
3131
for product in activity.products():
3232
exchanges += product.virtual_exchanges
3333
else:
34-
exchanges += [exc.to_dict() for exc in activity.exchanges()]
34+
exchanges += [exc.as_dict() for exc in activity.exchanges()]
3535

3636
df = bwutils.exchanges_to_sdf(exchanges)
3737
df.to_clipboard(excel=True, index=False)

0 commit comments

Comments
 (0)