1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

Add comment about assuming FID always starts 'F'.

This commit is contained in:
Athanasius 2021-04-12 12:52:05 +01:00
parent 0575c3ff43
commit ffc8d2fcb8

View File

@ -373,6 +373,8 @@ class Auth(object):
logger.error('No "usr"->"customer_id" in /decode data')
raise CredentialsError("Error: Couldn't check token customer_id")
# All 'FID' seen in Journals so far have been 'F<id>'
# Frontier, Steam and Epic
if f'F{customer_id}' != monitor.state.get('FID'):
raise CredentialsError("Error: customer_id doesn't match!")