nightfury commited on
Commit
85fbb1d
1 Parent(s): 4a69675

Update app_t.py

Browse files
Files changed (1) hide show
  1. app_t.py +4 -3
app_t.py CHANGED
@@ -9,7 +9,7 @@ def main():
9
  extract_dir = "clipseg"
10
  archive_format = "zip"
11
 
12
- if path.exists(filename):
13
  print ("yes zip location exists.")
14
  src=path.realpath(filename)
15
  print("zip location:", src)
@@ -18,8 +18,9 @@ def main():
18
  shutil.unpack_archive(filename, extract_dir, archive_format)
19
  #shutil.make_archive("test","zip",root_dir)
20
  print ("Archive file unpacked successfully.")
21
- else:
22
- print ("Archive file unpacked un-successfully.")
 
23
 
24
  if __name__=="__main__":
25
  main()
 
9
  extract_dir = "clipseg"
10
  archive_format = "zip"
11
 
12
+ if path.exists(filename):
13
  print ("yes zip location exists.")
14
  src=path.realpath(filename)
15
  print("zip location:", src)
 
18
  shutil.unpack_archive(filename, extract_dir, archive_format)
19
  #shutil.make_archive("test","zip",root_dir)
20
  print ("Archive file unpacked successfully.")
21
+ else:
22
+ print ("Archive file unpacked un-successfully.")
23
+
24
 
25
  if __name__=="__main__":
26
  main()