fix import

forgotten to add to older commit
This commit is contained in:
themancalledjakob 2024-11-05 16:02:58 +01:00
parent a7e6bdf082
commit 56904287a3

View file

@ -47,6 +47,8 @@ def deprecated(func):
return func(*args, **kwargs) return func(*args, **kwargs)
return new_func return new_func
import subprocess
import sys
def open_file_browser(directory): def open_file_browser(directory):
if sys.platform=='win32': if sys.platform=='win32':
os.startfile(directory) os.startfile(directory)