fau-fablab / FabLabKasse

FabLabKasse, a Point-of-Sale Software for FabLabs and other public and trust-based workshops
https://fablabkasse.readthedocs.io
GNU General Public License v3.0
15 stars 4 forks source link

REFACTOR dynamic loading of modules #83

Closed patkan closed 9 years ago

patkan commented 9 years ago

Currently modules like the shopping backend are loaded in a way that makes it hard for a static code checker to understand what is going on. (see https://github.com/fau-fablab/FabLabKasse/blob/6dcf7d3ef98a00c7bf71191ef448760e3505912b/FabLabKasse/gui.py#L63-L74 ) The probably better way would be to use a factory design pattern or something similar to return an object of known type.