Fixed a misplaced import.
This commit is contained in:
parent
8a1471f648
commit
744aba1a32
@ -12,6 +12,7 @@ import pygame
|
||||
import random
|
||||
import requests
|
||||
import speechd
|
||||
import subprocess
|
||||
import time
|
||||
|
||||
localConfig = configparser.ConfigParser()
|
||||
@ -151,7 +152,6 @@ def game_menu(*options):
|
||||
time.sleep(0.001)
|
||||
|
||||
def donate(*mode):
|
||||
import subprocess
|
||||
subprocess.call(["xdg-open", "https://liberapay.com/stormdragon2976/donate"])
|
||||
pygame.mixer.music.pause()
|
||||
mode = "menu"
|
||||
|
Loading…
Reference in New Issue
Block a user