##// END OF EJS Templates
channelstream: fix channel hashing with str
super-admin -
r5107:95d30232 default
parent child Browse files
Show More
@@ -178,7 +178,7 b' def parse_channels_info(info_result, inc'
178
178
179 def log_filepath(history_location, channel_name):
179 def log_filepath(history_location, channel_name):
180
180
181 channel_hash = ascii_str(sha1_safe(channel_name))
181 channel_hash = sha1_safe(channel_name, return_type='str')
182 filename = f'{channel_hash}.log'
182 filename = f'{channel_hash}.log'
183 filepath = os.path.join(history_location, filename)
183 filepath = os.path.join(history_location, filename)
184 return filepath
184 return filepath
General Comments 0
You need to be logged in to leave comments. Login now