Skip to content

Commit

Permalink
Merge pull request #3 from lienzhuzhu/main
Browse files Browse the repository at this point in the history
Corrects plugin/ removal in rename.py
  • Loading branch information
glepnir authored Dec 16, 2024
2 parents acfc1b8 + 904e1e5 commit 51cbb28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rename.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# -*- coding: UTF-8 -*-

import os, sys
import os, sys, shutil
pdir = os.getcwd()

# ANSI color codes
Expand Down Expand Up @@ -42,7 +42,7 @@ def print_colored(message, color):

choice = input("Do you need plugin folder in your plugin (y|n): ")
if choice.lower() == 'n':
os.remove(os.path.join(os.getcwd(), 'plugin'))
shutil.rmtree(os.path.join(os.getcwd(), 'plugin'))

choice = input("Do you want also remove example code in init.lua and test (y|n): ")
if choice.lower() == 'y':
Expand Down

0 comments on commit 51cbb28

Please sign in to comment.