summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzyp <zyp@localhost>2006-05-10 17:58:40 +0200
committerzyp <zyp@localhost>2006-05-10 17:58:40 +0200
commitd4f7c7d7f6311d420a8b3ecac72659f499d3c848 (patch)
treeacf59c274a66572f3bb58f48bb836b9d8cd6c20b
parent21559e9f4bd58b1504cc0fda7b0dceee0c833862 (diff)
[project @ zyp-20060510155840-74a8ebaba6608a9c]
[project @ 28] Commented out ping-test.
-rw-r--r--anidb_add.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/anidb_add.py b/anidb_add.py
index c2fb1cf..b84f162 100644
--- a/anidb_add.py
+++ b/anidb_add.py
@@ -40,12 +40,12 @@ username, password = auth()
try:
a = anidb.AniDB(username, password)
- t = a.ping()
- if t:
- print 'AniDB is reachable, %.3fs' % (t)
- else:
- print 'AniDB is unreachable.'
- sys.exit(1)
+ #t = a.ping()
+ #if t:
+ # print 'AniDB is reachable, %.3fs' % (t)
+ #else:
+ # print 'AniDB is unreachable.'
+ # sys.exit(1)
a.auth()
print 'Logged in as user %s.' % (username)
if a.new_version: