diff --git a/utils/airtime-import/airtime-import.py b/utils/airtime-import/airtime-import.py index e690cfde9..caa9d71f9 100644 --- a/utils/airtime-import/airtime-import.py +++ b/utils/airtime-import/airtime-import.py @@ -56,7 +56,7 @@ def copy_or_move_files_to(paths, dest, flag): destfile = dest+os.path.basename(path) if(flag == 'copy'): print "Copying %(src)s to %(dest)s..." % {'src':path, 'dest':destfile} - shutil.copy(path, destfile) + shutil.copyfile(path, destfile) elif(flag == 'move'): print "Moving %(src)s to %(dest)s..." % {'src':path, 'dest':destfile} shutil.move(path, destfile)