From 709f65cd270436a22ba2fdfd40d0287f01a36999 Mon Sep 17 00:00:00 2001 From: Dominique Makowski Date: Tue, 6 Nov 2018 16:28:17 +0100 Subject: [PATCH] Removed windll --- neuropsydia/screen.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neuropsydia/screen.py b/neuropsydia/screen.py index 57d98cf..8eed143 100644 --- a/neuropsydia/screen.py +++ b/neuropsydia/screen.py @@ -4,13 +4,12 @@ """ import pygame import ctypes -import windll from .path import * # Change "neuropsydia.screen" to "__main__" When building API documentation. This is to avoid sphinx to run this code, otherwise the documentations fails to be built. "neuropsydia.screen" to make it work. if __name__ == "neuropsydia.screen": - + yes = ctypes.windll.user32.SetProcessDPIAware() resolution = (ctypes.windll.user32.GetSystemMetrics(0), ctypes.windll.user32.GetSystemMetrics(1))