diff --git a/mylar/weeklypull.py b/mylar/weeklypull.py
index b9e3a698..9806b7b5 100755
--- a/mylar/weeklypull.py
+++ b/mylar/weeklypull.py
@@ -423,7 +423,7 @@ def pullit(forcecheck=None):
 
         newtxtfile.close()
 
-        if pulldate == '00000000' and ALT_PULL != 2:
+        if pulldate == '00000000' and mylar.ALT_PULL != 2:
             pulldate = shipdate
 
         weektmp = datetime.date(*(int(s) for s in pulldate.split('-')))