drewwalters96/subber

Load config in subber.py

drewwalters96 opened this issue · 2 comments

Thank you for your contribution to Subber! Please fill out one of the two templates below (issue or feature request).

Feature request (please include as much detail as possible):

The config file should be loaded in subber.py and rather than doing so directly from the Reddit class in reddit.py.

This addresses the confusing import system for the unit tests in #41

Can you clarify how this should affect #41 ? @annapankiewicz @drewwalters96

@danieledwardknudsen This does not affect #41 directly at this time. This issue is filed in response to difficulties encountered in #41 and prevents reloading the config file multiple times whenever it is needed during runtime.

The solution is to load it once at startup.