Changeset 14169 in genesis for tools/gformat.py


Ignore:
Timestamp:
May 22, 2018, 7:44:04 PM (7 years ago)
Author:
rick
Message:

Fix files not found error on first run

Bootstrap cache directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r14168 r14169  
    15121512    ]
    15131513  else:
     1514    # Bootstap cache directory if none exists
     1515    if not glob.glob(os.path.join(CACHE_DIR,'*','index.html')):
     1516        generate_static(CACHE_DIR, False)
     1517
    15141518    base_uri = environ['REQUEST_URI']
    15151519    uri = base_uri.strip('/').split('/')[1:]
Note: See TracChangeset for help on using the changeset viewer.