channelstream: fix channel hashing with str
This commit is contained in:
parent
8ae0e8de44
commit
10c3fba396
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ def parse_channels_info(info_result, include_channel_info=None):
|
|||
|
||||
def log_filepath(history_location, channel_name):
|
||||
|
||||
channel_hash = ascii_str(sha1_safe(channel_name))
|
||||
channel_hash = sha1_safe(channel_name, return_type='str')
|
||||
filename = f'{channel_hash}.log'
|
||||
filepath = os.path.join(history_location, filename)
|
||||
return filepath
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue