File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ def fetch_godot_binary(
136136 if buff .write (rep .read (2 ** 20 )) == 0 :
137137 break
138138 log (
139- f"{ buff .tell ()// 2 ** 20 } Mo/{ length // 2 ** 20 } Mo" ,
139+ f"{ buff .tell () // 2 ** 20 } Mo/{ length // 2 ** 20 } Mo" ,
140140 flush = True ,
141141 end = "\r " ,
142142 )
Original file line number Diff line number Diff line change @@ -87,11 +87,11 @@ def fetch_prebuild(
8787 with open (tmp_archive_path , "bw" ) as outfd :
8888 length = int (rep .headers .get ("Content-Length" ))
8989 # Poor's man progress bar
90- print (f"0Mo/{ length // 2 ** 20 } Mo" , flush = True , end = "\r " )
90+ print (f"0Mo/{ length // 2 ** 20 } Mo" , flush = True , end = "\r " )
9191 while True :
9292 if outfd .write (rep .read (2 ** 20 )) == 0 :
9393 break
94- print (f"{ outfd .tell ()// 2 ** 20 } Mo/{ length // 2 ** 20 } Mo" , flush = True , end = "\r " )
94+ print (f"{ outfd .tell () // 2 ** 20 } Mo/{ length // 2 ** 20 } Mo" , flush = True , end = "\r " )
9595
9696 shutil .move (tmp_archive_path , archive_path )
9797
You canβt perform that action at this time.
0 commit comments