diff --git a/bot/YTCv4.py b/bot/YTCv4.py index 28cb7d4cf132..e21facbf504e 100644 --- a/bot/YTCv4.py +++ b/bot/YTCv4.py @@ -29,7 +29,7 @@ def YTCV4(youtube_url,cache=1,debug=0): try: prev_dict = pickle.load(tiedosto) except EOFError: # Cache is corrupt - os.remove(directory+"/nano/"+tiedosto.name) + os.remove(directory+tiedosto.name) print "REMOVED CORRUPT CACHE: "+tiedosto.name prev_dict = {} tiedosto.close() # I think this should belong here.