Commit d758599
committed
Only delete problem zip after detecting problem directory
Otherwise, if you only have the zip, it gets deleted and then the
script fails, leaving you without the data of that problem.
In my case, I didn't notice, and ran `import-contest` again after
unzipping all problem archives, which then failed because the
first problem was missing.1 parent ac8e600 commit d758599
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
| 222 | + | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments