Again, implementing dumb deletion of temporal files. La tercera es la vencida!

This commit is contained in:
Offray Vladimir Luna Cárdenas 2016-10-01 20:56:51 +00:00
parent 5c98c327c3
commit 052d8523c7

View File

@ -129,7 +129,9 @@ GrafoscopioGUI class >> dockingBar: anObject [
{ #category : #'graphical interface' } { #category : #'graphical interface' }
GrafoscopioGUI class >> downloadingFrom: downloadUrl withMessage: aString into: location [ GrafoscopioGUI class >> downloadingFrom: downloadUrl withMessage: aString into: location [
| fileName |
fileName := (downloadUrl splitOn: $/) last.
(location / fileName) exists ifTrue: [ (location / fileName) ensureDelete ].
[: bar | [: bar |
bar title: aString. bar title: aString.
[ZnClient new [ZnClient new