Fetches recently modified fits, used with shipBrowser
()
| 141 | |
| 142 | @staticmethod |
| 143 | def getRecentFits(): |
| 144 | """ Fetches recently modified fits, used with shipBrowser """ |
| 145 | pyfalog.debug("Fetching recent fits") |
| 146 | fits = eos.db.getRecentFits() |
| 147 | returnInfo = [] |
| 148 | |
| 149 | for fit in fits: |
| 150 | item = eos.db.getItem(fit[1]) |
| 151 | returnInfo.append((fit[0], fit[2], fit[3] or fit[4] or datetime.datetime.fromtimestamp(fit[5]), item, fit[6])) |
| 152 | # ID name timestamps item notes |
| 153 | |
| 154 | return returnInfo |
| 155 | |
| 156 | @staticmethod |
| 157 | def getFitsWithModules(typeIDs): |
no test coverage detected