Changeset 7df8b17 in osmose-backend


Ignore:
Timestamp:
Jan 6, 2013 2:20:33 PM (7 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
a910761
Parents:
5994886
git-author:
Frédéric Rodrigo <frodrigo@…> (06/01/2013 14:13:17)
git-committer:
Frédéric Rodrigo <frodrigo@…> (06/01/2013 14:20:33)
Message:

Fix download data when dest dir dosen't exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/download.py

    rb1d1ace r7df8b17  
    7070 
    7171    # write the file 
     72    outfile = open(file_dl, "wb") 
    7273    try: 
    73         outfile = open(file_dl, "wb") 
    7474        while True: 
    7575            data = answer.read(2048) 
Note: See TracChangeset for help on using the changeset viewer.