diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index b087416f8efa85a4bddca6c25dbcbf35a6f5670f..53045cf71365c4dd41cb6f9274e715a33b00feef 100644
--- a/modules/aeolus/aeolus_amv.py
+++ b/modules/aeolus/aeolus_amv.py
@@ -44,8 +44,8 @@ class AMVFiles:
 
     def get_file_containing_time(self, timestamp):
         k = -1
-        for i in range(len(ftimes)):
-            if (timestamp >= ftimes[i][0]) and (timestamp < ftimes[i][1]):
+        for i in range(len(self.ftimes)):
+            if (timestamp >= self.ftimes[i][0]) and (timestamp < self.ftimes[i][1]):
                 k = i
                 break
         if k < 0: