Changed donate function to use webbrowser module

This commit is contained in:
Jeremiah Ticket 2019-12-08 04:08:20 -09:00
parent fa02172655
commit 9ec9d1240d

View File

@ -13,6 +13,7 @@ import pyperclip
import random
import re
import requests
import webbrowser
# Global variable for speech provider
try:
import speechd
@ -235,4 +236,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')