XavB64 / lowtrip

A web app to compute travel CO2eq for different means of transport worldwide
https://lowtrip.fr
GNU Affero General Public License v3.0
56 stars 6 forks source link

[back] fix: broken imports #82

Closed clarani closed 5 months ago

clarani commented 5 months ago

It appears that the backend is broken because of invalid imports. When I launch the main branch in local, I get this error:

File "lowtrip/backend/app.py", line 29, in <module>
    from .backend import (
ImportError: attempted relative import with no known parent package
[2024-06-09 17:01:44 +0200] [57543] [INFO] Worker exiting (pid: 57543)
[2024-06-09 17:01:44 +0200] [57542] [ERROR] Worker (pid:57543) exited with code 3

This PR fixes the error