diff --git a/astrolobot.py b/astrolobot.py index fd28170..0bf3118 100644 --- a/astrolobot.py +++ b/astrolobot.py @@ -180,4 +180,10 @@ def script_update(settings): client_id=obspython.obs_data_get_string(settings,'client_id') client_secret=obspython.obs_data_get_string(settings,'client_secret') if client_id and client_secret: - twitchio_thread.start() \ No newline at end of file + twitchio_thread.start() + +if __name__ == '__main__': + def script_path(): + return path.dirname(__file__)+'/' + download_files() + print(get_planet_info()) \ No newline at end of file