Skip to content

Commit

Permalink
Fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
streino committed Jun 20, 2023
1 parent eee2cc2 commit c0f8b48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions maintenance/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,13 +941,12 @@ def harvest_sources_list(self, id_or_name='id'):
{
'fq': '+dataset_type:harvest',
'rows': rows,
'fl': 'id, name',
'start': start
}
)
if not action_success(r):
raise DialogError(
"Impossible de dresser la liste des moissonnages."
f"Impossible de dresser la liste des moissonnages: {r}"
)
l = r.json()['result']['results']
if not l:
Expand Down

0 comments on commit c0f8b48

Please sign in to comment.