Private GIT

Skip to content
Snippets Groups Projects
Commit 4b8bbde5 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Should probably check if it exists first, doh

parent 16f3118e
Branches
Tags
No related merge requests found
...@@ -59,6 +59,7 @@ import getopt ...@@ -59,6 +59,7 @@ import getopt
# Do this before importing sickbeard, to prevent locked files and incorrect import # Do this before importing sickbeard, to prevent locked files and incorrect import
oldtornado = os.path.abspath(os.path.join(os.path.dirname(__file__), 'tornado')) oldtornado = os.path.abspath(os.path.join(os.path.dirname(__file__), 'tornado'))
if os.path.isdir(oldtornado):
shutil.move(oldtornado, oldtornado + '_kill') shutil.move(oldtornado, oldtornado + '_kill')
shutil.rmtree(oldtornado + '_kill') shutil.rmtree(oldtornado + '_kill')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment