This commit is contained in:
deathbybandaid 2019-09-19 08:33:10 -04:00
parent 8b156d39ab
commit ee1559f0f1

View File

@ -302,7 +302,7 @@ def stock_modules_begone():
for pathname in os.listdir(modules_dir):
path = os.path.join(modules_dir, pathname)
if (os.path.isfile(path) and pathname.endswith('.py') and not pathname.startswith('_')):
if not pathname in ["__init__.py", "SpiceBot_dummycommand.py"]:
if pathname not in ["__init__.py", "SpiceBot_dummycommand.py"]:
os.system("sudo mv " + path + " " + stockdir)