We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents acfc1b8 + 904e1e5 commit 51cbb28Copy full SHA for 51cbb28
rename.py
@@ -1,7 +1,7 @@
1
#!/usr/bin/python
2
# -*- coding: UTF-8 -*-
3
4
-import os, sys
+import os, sys, shutil
5
pdir = os.getcwd()
6
7
# ANSI color codes
@@ -42,7 +42,7 @@ def print_colored(message, color):
42
43
choice = input("Do you need plugin folder in your plugin (y|n): ")
44
if choice.lower() == 'n':
45
- os.remove(os.path.join(os.getcwd(), 'plugin'))
+ shutil.rmtree(os.path.join(os.getcwd(), 'plugin'))
46
47
choice = input("Do you want also remove example code in init.lua and test (y|n): ")
48
if choice.lower() == 'y':
0 commit comments