Update app.py
Browse files
app.py
CHANGED
@@ -279,11 +279,16 @@ if submit and len(x) != 0:
|
|
279 |
hormrecepcsv = hormrecepdf.to_csv('hormrecep.csv')
|
280 |
|
281 |
with zipfile.ZipFile("allcsvs.zip", "w") as zipf:
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
|
|
|
|
|
|
|
|
|
|
287 |
|
288 |
for e in edccanbis:
|
289 |
edccan += [[e[3],e[0]+" ["+e[-1][0][2:]+"]", e[1]+" ["+e[-1][1][2:]+"]",e[2]]]
|
|
|
279 |
hormrecepcsv = hormrecepdf.to_csv('hormrecep.csv')
|
280 |
|
281 |
with zipfile.ZipFile("allcsvs.zip", "w") as zipf:
|
282 |
+
if edccancsv:
|
283 |
+
zipf.write(edccancsv)
|
284 |
+
if edcrecepcsv:
|
285 |
+
zipf.write(edcrecepcsv)
|
286 |
+
if edchormcsv:
|
287 |
+
zipf.write(edchormcsv)
|
288 |
+
if hormcancsv:
|
289 |
+
zipf.write(hormcancsv)
|
290 |
+
if hormrecepcsv:
|
291 |
+
zipf.write(hormrecepcsv)
|
292 |
|
293 |
for e in edccanbis:
|
294 |
edccan += [[e[3],e[0]+" ["+e[-1][0][2:]+"]", e[1]+" ["+e[-1][1][2:]+"]",e[2]]]
|