Commits

FredGan committed a439346

Размер архива в отчет 2

Comments (0)

Files changed (1)

         tar.close()
         # Email body include: name and size of file 'os.stat(archname).st_size'
         size = os.stat(archname).st_size/1048576 
-        body=body+'Job '+str(i)+' is done.'+'Size:'+str(size)+'Mb'+'\n'
+        body=body+'Job '+str(i)+' is done. '+'Size:'+str(size)+'Mb'+'\n'
 #Send email          
     modules.Sendemail(fro_m='service@redsails.ru', to='backup@redsails.ru', body=body , subject='BackUP')
 #Run processing