diff --git a/update_repos b/update_repos
index b7e6f4213666c07194f5bc246819d910bb8033c6..bbdeed3b4a4c3a028472d178f0c8a31091f1989d 100755
--- a/update_repos
+++ b/update_repos
@@ -71,7 +71,7 @@ class AttributeDict(dict):
     def __setattr__(self, attr, value):
         self[attr] = value
 
-def read_api_uri(uri, config, page):
+def read_api_uri(uri, config, page=1):
     uri += ACCESS_TOKEN_PARAM % config.token + LISTING_PAGE_PARAM % (LISTINGS_PER_PAGE, page)
 
     if config.debug: