Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
fix parsing corename when there an mra
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-roelofs committed Sep 10, 2021
1 parent f78b4f5 commit 0a43247
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mister.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ def get_running_core():
current_core = 'menu'
for line in stdout:
if '.rbf' in line:
#logger.info(line.strip())
for part in line.split(" "):
if ".rbf" in part:
line = part
core_name = line.split('/')[-1].replace('.rbf','').strip()
if "_" in core_name:
base_name = core_name.split('_')[0]
Expand Down

0 comments on commit 0a43247

Please sign in to comment.