Skip to content

Commit

Permalink
Merge pull request #337 from LemonHaze420/main
Browse files Browse the repository at this point in the history
Fix refresh button in MagicMemoryCreator
  • Loading branch information
Yoti authored Apr 16, 2024
2 parents 92f8198 + 3a4ae74 commit b346c7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contrib/PC/MagicMemoryCreator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ def disable_go_check():

def refresh():
m.destroy()
os.execv(sys.argv[0], sys.argv)

p = sys.executable
os.execl(p, p, *sys.argv)

def cleanup() -> None:
global go
if go:
Expand Down

0 comments on commit b346c7b

Please sign in to comment.