Skip to content

Commit

Permalink
Removed windll
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Nov 6, 2018
1 parent 67743f9 commit 709f65c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neuropsydia/screen.py
Expand Up @@ -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))

Expand Down

0 comments on commit 709f65c

Please sign in to comment.