Skip to content

Commit 55ce16e

Browse files
JanardhanamJanardhanam
authored andcommitted
Made console force print every loop iteration
1 parent 728a8b9 commit 55ce16e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

HTML-Beauti.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,10 @@ def main():
108108
file_replace_text(filepath, '<p><br/></p>', '')
109109
file_replace_text(filepath, '<body>', '<body>\n<div>')
110110
file_replace_text(filepath, '</body>', '</div>\n</body>')
111-
file_replace_text(filepath, '', '->')
111+
file_replace_text(filepath, '', '=>')
112112

113-
print('done!')
113+
print('done!', end=" ")
114+
sys.stdout.flush()
114115

115116

116117
if __name__ == "__main__":

0 commit comments

Comments
 (0)