first commit
This commit is contained in:
10
plugin/NavidromePlaylistSync/resetDir.py
Normal file
10
plugin/NavidromePlaylistSync/resetDir.py
Normal file
@ -0,0 +1,10 @@
|
||||
import os
|
||||
|
||||
def reset(path):
|
||||
delList = os.listdir(path)
|
||||
|
||||
for f in delList:
|
||||
filePath = os.path.join(path, f)
|
||||
if os.path.isfile(filePath):
|
||||
os.remove(filePath)
|
||||
|
Reference in New Issue
Block a user