Skip to content

Commit

Permalink
Fixed Update
Browse files Browse the repository at this point in the history
  • Loading branch information
andiricum2 committed Dec 22, 2023
1 parent 13d1a48 commit 1af340f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion piemc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# ONLY FOR DEVELOPERS
# Set the desired log level in uppercase (e.g., "INFO", "DEBUG", "WARNING", "ERROR", "CRITICAL")
LOG_LEVEL = "INFO"
DEV_MODE = True
DEV_MODE = False
8 changes: 4 additions & 4 deletions piemc/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ def start(self):
self.logger.info(f"{self.lang['MAX_PLAYERS']}: {self.max_players}")
self.logger.info(f"\033[36m{self.lang['NEEDHELP?']}\033[0m")
self.logger.info(f"\033[36m{self.lang['DISCORDINVITE']}\033[0m")
try:
check_for_updates()
except Exception as e:
self.logger.error(f"Error while checking for updates: {e}")
# try:
# check_for_updates()
#except Exception as e:
# self.logger.error(f"Error while checking for updates: {e}")
while self.running:
cmd = input('>>> ')
self.cmd_handler(self, cmd)
Expand Down

0 comments on commit 1af340f

Please sign in to comment.