diff --git a/libstormgames.py b/libstormgames.py index be53504..bd74b66 100755 --- a/libstormgames.py +++ b/libstormgames.py @@ -13,6 +13,7 @@ import pyperclip import random import re import requests +import webbrowser # Global variable for speech provider try: import speechd @@ -26,7 +27,6 @@ except ImportError: print("No other speech providers found.") exit() -import subprocess import time localConfig = configparser.ConfigParser() @@ -235,4 +235,4 @@ def game_menu(*options): def donate(): pygame.mixer.music.pause() - subprocess.call(["xdg-open", "https://liberapay.com/stormdragon2976/donate"]) + webbrowser.open('https://liberapay.com/stormdragon2976/donate')