Changeset 1493:097b6aec83e9 in orange-bioinformatics


Ignore:
Timestamp:
10/12/11 13:23:09 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
dcfb1681328af61ca9afc1694aca6832417d5fcb
Message:

Fixed download function for STRING.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiPPI.py

    r1491 r1493  
    533533            tmpfilename = os.path.join(dir, basename + ".part") 
    534534            tmpfile = open(tmpfilename, "wb") 
    535             shutil.copyfileobj(stream, tmpfile) 
     535            shutil.copyfileobj(stream, os.path.join(dir, basename)) 
    536536            tmpfile.close() 
    537537            os.rename(tmpfilename, basename) 
Note: See TracChangeset for help on using the changeset viewer.