Commit 3954272a046e13961d8ae8802b6af2f86db43715

Authored by Odile@pc2050
1 parent de45ca6c
Exists in master

Fix #1. Use python 3 string format

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/files.py
... ... @@ -86,13 +86,13 @@ if __name__ == '__main__':
86 86 if "A" in c.upper():
87 87 """ Add a prefix """
88 88 prefix = input("Choose a prefix to rename files (P0, P1, P2): ")
89   - print("Your input prefix is: {} ", prefix)
  89 + print("Your input prefix is: {} ".format(prefix))
90 90 p.add_prefix(prefix)
91 91 print("... renaming with prefix is DONE !")
92 92 elif "R" in c.upper():
93 93 """ Remove a prefix """
94 94 prefix = input("Choose a prefix to remove (P0, P1, P2): ")
95   - print("Your input prefix is: {} ", prefix)
  95 + print("Your input prefix is: {} ".format(prefix))
96 96 p.remove_prefix(prefix)
97 97 print("... removing the prefix is DONE !")
98 98  
... ...