utils: fix winreghives path string

Adds missing slash in the windows reghives path f-string.

When calling os_probe inside refresh (live/ogOperations) the mountpoint
is passed without a trailing slash.
more_events
Jose M. Guisado 2022-04-28 16:11:30 +02:00
parent e6079c42ea
commit ad2d4a1f1a
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def os_probe(mountpoint):
Returns a string depending on the OS it detects.
"""
winreghives = f'{mountpoint}Windows/System32/config'
winreghives = f'{mountpoint}/Windows/System32/config'
osrelease = f'{mountpoint}/etc/os-release'
if os.path.exists(osrelease):