Skip to content

Commit

Permalink
sha depends on platform ??
Browse files Browse the repository at this point in the history
  • Loading branch information
daviidarr committed Apr 3, 2024
1 parent df953f2 commit 67cc93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pnl_explain.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
value=st.secrets['debank'] if 'debank' in st.secrets else '',
help="you think i am going to pay for you?")
# tamper with the db file name to add hash of debank key
hashed_debank_key = sha256(st.session_state.debank_key.encode()).hexdigest()[:8]
hashed_debank_key = st.session_state.debank_key
plex_db_params = copy.deepcopy(st.session_state.parameters['input_data']['plex_db'])
plex_db_params['remote_file'] = plex_db_params['remote_file'].replace('.db', f'_{hashed_debank_key}.db')

Expand Down

0 comments on commit 67cc93c

Please sign in to comment.