Changeset 8997:dc157d2ca2a5 in orange


Ignore:
Timestamp:
09/20/11 18:10:21 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
d13a96fd28e33e88a7a687535a037e3177a7d21f
Message:

Fixed an error in handling the tar.gz extraction in download function.
Fixes #945.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/misc/serverfiles.py

    r8042 r8997  
    462462            f.extractall(localpath(domain)) 
    463463            shutil.copyfile(target + ".tmp", target) 
    464         if filename.endswith(".tar.gz"): 
     464        elif filename.endswith(".tar.gz"): 
    465465            f = tarfile.open(target + ".tmp") 
    466466            try: 
Note: See TracChangeset for help on using the changeset viewer.