Skip to content

Commit

Permalink
Fix an error in previous commit, TEDSubs.py not commited
Browse files Browse the repository at this point in the history
TEDSubs.py ver 0.21
  • Loading branch information
joedicastro committed Sep 5, 2010
1 parent 3d6590e commit 538c6a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/TEDSubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@
__author__ = "joe di castro - joe@joedicastro.com"
__license__ = "GNU General Public License version 3"
__date__ = "31/07/2010"
__version__ = "0.2"
__version__ = "0.21"

try:
import optparse
import sys
import os
import optparse
import json
import urllib
import re
except ImportError:
# Checks the installation of the necessary python modules
# Comprueba si todos los módulos necesarios están instalados
print ("""An error found importing one or more modules:
\n{0}
\nYou need to install this module\nQuitting...""").format(sys.exc_info()[1])
print((os.linesep * 2).join(["An error found importing one module:",
str(sys.exc_info()[1]), "You need to install it", "Stopping..."]))
sys.exit(-2)

def options():
Expand Down

0 comments on commit 538c6a8

Please sign in to comment.