feat: Add input so cli doesn't close immediately
This commit is contained in:
parent
3f2c155f2a
commit
ac0ca014ae
1 changed files with 3 additions and 0 deletions
3
main.py
3
main.py
|
|
@ -44,6 +44,9 @@ def main():
|
|||
# This is to encourage people to grab what's in /translated instead
|
||||
#deleteFolderFiles('files')
|
||||
|
||||
# Prevent immediately closing of CLI
|
||||
input('Done! Press any button to close.')
|
||||
|
||||
def deleteFolderFiles(folderPath):
|
||||
for filename in os.listdir(folderPath):
|
||||
file_path = os.path.join(folderPath, filename)
|
||||
|
|
|
|||
Loading…
Reference in a new issue