Skip to content

Commit

Permalink
Move modules to separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleshot committed Feb 11, 2024
1 parent 6163c07 commit 552c3d1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 49 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions Webapp/streamlit_app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Webserver for the Eagleshot GlacierCam - https://github.com/Eagleshot/GlacierCam"""

import sys
from io import BytesIO
from datetime import datetime
Expand All @@ -10,11 +11,11 @@
import pytz
from suntime import Sun, SunTimeException
import requests
from Modules.settings import Settings
import Modules.fileserver as fs

sys.path.append(str(Path(__file__).resolve().parent.parent)) # Add the parent directory to sys.path

from settings import Settings
import fileserver as fs
# Add parent directory to system path to import the modules
sys.path.append(str(Path(__file__).resolve().parent.parent))

# Login status
if "userIsLoggedIn" not in st.session_state:
Expand Down
45 changes: 0 additions & 45 deletions sunrise_test.py

This file was deleted.

0 comments on commit 552c3d1

Please sign in to comment.