find the root directory for web static files Returns: root path for static files
()
| 105 | |
| 106 | |
| 107 | def root_dir(): |
| 108 | """ |
| 109 | find the root directory for web static files |
| 110 | |
| 111 | Returns: |
| 112 | root path for static files |
| 113 | """ |
| 114 | return os.path.join( |
| 115 | os.path.join( |
| 116 | os.path.dirname(os.path.dirname(__file__)), |
| 117 | "web" |
| 118 | ), |
| 119 | "static" |
| 120 | ) |
| 121 | |
| 122 | |
| 123 | def fix_date(date): |
no outgoing calls
no test coverage detected