Skip to content

Commit d766c48

Browse files
Quick fix for a bot-crashing issue resolving youtube links due to what I assume was a directory typo
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4894 316c924e-a436-60f5-8080-3fe189b3f50e
1 parent 9e0d1ca commit d766c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bot/YTCv4.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def YTCV4(youtube_url,cache=1,debug=0):
2929
try:
3030
prev_dict = pickle.load(tiedosto)
3131
except EOFError: # Cache is corrupt
32-
os.remove(directory+"/nano/"+tiedosto.name)
32+
os.remove(directory+tiedosto.name)
3333
print "REMOVED CORRUPT CACHE: "+tiedosto.name
3434
prev_dict = {}
3535
tiedosto.close() # I think this should belong here.

0 commit comments

Comments
 (0)