diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ here = path.abspath(path.dirname(__file__))
 
 setup(
     name='vcf2clinvar',
-    version='0.1.dev2',
+    version='0.1.dev3',
     description='Match a personal genome VCF datafile to ClinVar',
     url='https://github.com/PersonalGenomesOrg/vcf2clinvar',
     author='Personal Genome Project Informatics Group',
diff --git a/vcf2clinvar/__init__.py b/vcf2clinvar/__init__.py
index <HASH>..<HASH> 100755
--- a/vcf2clinvar/__init__.py
+++ b/vcf2clinvar/__init__.py
@@ -17,7 +17,10 @@ from .genome import GenomeVCFLine
 
 
 def _next_line(filebuffer):
-    next_line = filebuffer.readline()
+    try:
+        next_line = filebuffer.readline()
+    except AttributeError:
+        next_line = filebuffer.next()
     try:
         next_line = next_line.decode('utf-8')
         return next_line
Fall back to "next" if no "readline"