File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ def styliseCode(fileToEdit):
186186
187187
188188def main ():
189- VERSION_NUMBER = "0.1.10.4 -BETA "
189+ VERSION_NUMBER = "0.1.11 -BETA "
190190 WINDOWS_LINE_ENDING = b'\r \n '
191191 UNIX_LINE_ENDING = b'\n '
192192 isFileGiven = False
@@ -206,7 +206,7 @@ def main():
206206 print ("\n " )
207207 print ("{:=^80}" .format (" Welcome to CodeStyliser ver" + VERSION_NUMBER ))
208208 print ("Made by Pranjal Rastogi, in Python 3.7.7 64-Bit" )
209- print ("Copyright (c) 2020, Pranjal Rastogi\n All rights Reserved" )
209+ print ("Copyright (c) 2020, Pranjal Rastogi\n All Rights Reserved. " )
210210 print ("{:=^80}" .format ("" ))
211211 if isFileGiven :
212212 print ("Will stylise code in " + FILE_NAME + " if it is a C-Source (.c) file" )
@@ -293,10 +293,10 @@ def main():
293293 timeInSec = time .gmtime (endTime - startTime ).tm_sec
294294 if timeInSec == 0 :
295295 timeTaken = int (round (endTime - startTime , 3 )* 1000 )
296- print (f"Took { timeTaken } milliseconds to add braces { linesEdited } times in { fileNo } files " )
296+ print (f"Took { timeTaken } milliseconds to add braces { linesEdited } time(s) in { fileNo } file(s) " )
297297 else :
298298 timeTaken = timeInSec
299- print (f"Took { timeTaken } seconds to add braces { linesEdited } times in { fileNo } files " )
299+ print (f"Took { timeTaken } seconds to add braces { linesEdited } time(s) in { fileNo } file(s) " )
300300 print ("\n " )
301301
302302if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments