diff globalneighbors/neighbors.py @ 23:6891c5523b69

load with neighbors :)
author Jeff Hammel <k0scist@gmail.com>
date Sun, 25 Jun 2017 18:13:43 -0700
parents e69cb496324e
children
line wrap: on
line diff
--- a/globalneighbors/neighbors.py	Sun Jun 25 17:45:19 2017 -0700
+++ b/globalneighbors/neighbors.py	Sun Jun 25 18:13:43 2017 -0700
@@ -22,7 +22,7 @@
 
     if isinstance(f, string):
         with open(f) as _f:
-            return read_neighbors_file(f)
+            return read_neighbors_file(_f)
 
     retval = {}
     for line in f: