Skip to content

Commit

Permalink
Updated create_ee_creds.py to 0.42b
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES committed Dec 19, 2023
1 parent 755a2e3 commit 612f41c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gee/modules/create_ee_creds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import re
import logging
from colorama import Fore

logger = logging.getLogger(__name__)
logger.setLevel(logging.ERROR)
Expand All @@ -27,7 +28,7 @@
if match:
service_acc_mail = match.group()
break
except NameError as error:
except (NameError, FileNotFoundError) as error:
print(Fore.RED + '[GEE credentials file error] -{}'.format(str(error)))
logger.error(error)
print('')

0 comments on commit 612f41c

Please sign in to comment.