summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-08 20:55:29 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-08 20:55:29 +0200
commit63c0d114110067b4d782f9bd4fd4147cd93c1807 (patch)
treebf99b68301e8e5d82342ee45d381ce1343cd0d77 /test.py
parent37cb057bb3d7da79b6944f73cd0a2764500bacba (diff)
fixed font rendering fallback. TODO: make this nice
Diffstat (limited to 'test.py')
-rw-r--r--test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test.py b/test.py
index 72db3a0..ce6ceaa 100644
--- a/test.py
+++ b/test.py
@@ -2,7 +2,10 @@ from agarnet.agarnet import client
from agarnet.agarnet import utils
import pygame
from pygame import gfxdraw
-from pygame import freetype
+try:
+ from pygame import freetype
+except:
+ pass
from pygame.locals import *
import sys
import math