vorstcavry commited on
Commit
21d2580
·
1 Parent(s): 3f24094

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -32,7 +32,8 @@ def DownLoad(URI:str,DownloadPath:pathlib.Path,DownLoadFileName:str ) -> int:
32
  else :
33
 
34
  del i
35
- raise Exception(str.format("download \'{0}\' failed",URI))
 
36
 
37
  user_home =pathlib.Path.home().resolve()
38
  os.chdir(str(user_home))
@@ -225,4 +226,4 @@ try:
225
  ret = subprocess.run(args)
226
  except Exception as e:
227
  print("Error:", e)
228
- del os ,user_home ,pyexecutable ,subprocess
 
32
  else :
33
 
34
  del i
35
+ raise Exception(str.format("download \'{0}\' failed"
36
+ ,URI))
37
 
38
  user_home =pathlib.Path.home().resolve()
39
  os.chdir(str(user_home))
 
226
  ret = subprocess.run(args)
227
  except Exception as e:
228
  print("Error:", e)
229
+ del os ,user_home ,executable ,subprocess