Skip to content

Commit

Permalink
log versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ego-lay-atman-bay committed Jul 3, 2024
1 parent df0a218 commit f6cf653
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,6 @@ src/signapk.jar

android/
.vscode/
# My folder for extracted games
src/game
git_dist/
4 changes: 4 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,14 @@ def createLogger(type = 'file', filename = 'logs/log.log', debug = False):
from scrollframe import ScrollFrame
import popups

logging.info(f'wme version: {__version__}')
logging.info(f'wmwpy version: {wmwpy.__version__}')

if wmwpy.__version__ < __min_wmwpy_version__:
logging.error(f'wmwpy version must be "{__min_wmwpy_version__}" or higher.')
raise ImportWarning(f'wmwpy version must be "{__min_wmwpy_version__}" or higher.')


ImageColor.colormap['transparent'] = '#0000'

class WME(tk.Tk):
Expand Down

0 comments on commit f6cf653

Please sign in to comment.