forked from ScoDoc/DocScoDoc
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:
|
||||
filename = code_nip + ".jpg"
|
||||
else:
|
||||
filename = t["nom"] + "_" + t["prenom"] + "_" + t["etudid"] + ".jpg"
|
||||
filename = f'{t["nom"]}_{t["prenom"]}_{t["etudid"]}.jpg'
|
||||
Z.writestr(filename, img)
|
||||
Z.close()
|
||||
size = data.tell()
|
||||
|
Loading…
Reference in New Issue
Block a user