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