<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -226,7 +226,15 @@ def main():
             
             cfile['showname'] = t[ cfile['file_showname'] ]['showname']
             cfile['epname'] = None
-        except (tvdb_userabort), errormsg:
+        except tvdb_error, errormsg:
+            # Error communicating with thetvdb.com
+            sys.stderr.write(
+                &quot;! Warning: Error contacting www.thetvdb.com:\n%s\n&quot; % (errormsg)
+            )
+            
+            cfile['showname'] = t[ cfile['file_showname'] ]['showname']
+            cfile['epname'] = None
+        except tvdb_userabort, errormsg:
             # User aborted selection (q or ^c)
             print &quot;\n&quot;, errormsg
             sys.exit(1)</diff>
      <filename>tvnamer.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8a220e844b50fd5b3481318400b924dcc8d00079</id>
    </parent>
  </parents>
  <author>
    <name>dbr</name>
    <email>dbr.onix@gmail.com</email>
  </author>
  <url>http://github.com/dbr/tvdb_api/commit/74e114002fb977c0500a8c49199cc0a599474e1d</url>
  <id>74e114002fb977c0500a8c49199cc0a599474e1d</id>
  <committed-date>2008-08-07T09:32:26-07:00</committed-date>
  <authored-date>2008-08-07T09:32:26-07:00</authored-date>
  <message>Handle the tvdb_error (generally connection refused/time-out etc)</message>
  <tree>288ba7bd3809677ab54d8c28ea222f9794ece3b6</tree>
  <committer>
    <name>dbr</name>
    <email>dbr.onix@gmail.com</email>
  </committer>
</commit>
