Changed donate function to use webbrowser module
This commit is contained in:
parent
fa02172655
commit
9ec9d1240d
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user