Compare commits

...

2 commits

Author SHA1 Message Date
j
40f5de20d2 disable chop, not really working yet 2018-08-13 21:26:24 +02:00
j
708f3d8927 raise exception 2018-08-13 21:24:44 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -619,7 +619,7 @@ def chop(video, start, end, subtitles=None):
fd.write(subtitles)
else:
subtitles_f = None
if ext == '.mp4' and settings.CHOP_SUPPORT:
if False and ext == '.mp4' and settings.CHOP_SUPPORT:
Chop(video, choped_video, start, end, subtitles_f)
if subtitles_f:
os.unlink(subtitles_f)

View file

@ -274,7 +274,7 @@ except NameError:
secret.write(SECRET_KEY)
secret.close()
except IOError:
Exception('Please create a %s file with random characters to generate your secret key!' % SECRET_FILE)
raise Exception('Please create a %s file with random characters to generate your secret key!' % SECRET_FILE)
INSTALLED_APPS = tuple(list(INSTALLED_APPS) + LOCAL_APPS)