forked from ScoDoc/ScoDoc
Fix: export zip photos
This commit is contained in:
parent
2244f29c33
commit
79c4b33bee
@ -229,7 +229,7 @@ def _trombino_zip(groups_infos):
|
|||||||
if code_nip:
|
if code_nip:
|
||||||
filename = code_nip + ".jpg"
|
filename = code_nip + ".jpg"
|
||||||
else:
|
else:
|
||||||
filename = t["nom"] + "_" + t["prenom"] + "_" + t["etudid"] + ".jpg"
|
filename = f'{t["nom"]}_{t["prenom"]}_{t["etudid"]}.jpg'
|
||||||
Z.writestr(filename, img)
|
Z.writestr(filename, img)
|
||||||
Z.close()
|
Z.close()
|
||||||
size = data.tell()
|
size = data.tell()
|
||||||
|
Loading…
Reference in New Issue
Block a user