forked from ScoDoc/ScoDoc
Merge pull request 'fix_group_selector' (#134) from jmplace/ScoDoc-Lille:fix_group_selector into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/134
This commit is contained in:
commit
fede1ae7af
@ -305,8 +305,8 @@ class DisplayedGroupsInfos(object):
|
||||
if isinstance(group_ids, int):
|
||||
if group_ids:
|
||||
group_ids = [group_ids] # cas ou un seul parametre, pas de liste
|
||||
else:
|
||||
group_ids = []
|
||||
else:
|
||||
group_ids = [int(g) for g in group_ids]
|
||||
if not formsemestre_id and moduleimpl_id:
|
||||
mods = sco_moduleimpl.do_moduleimpl_list(moduleimpl_id=moduleimpl_id)
|
||||
if len(mods) != 1:
|
||||
|
Loading…
Reference in New Issue
Block a user