diff --git a/accservermanager/settings.py b/accservermanager/settings.py index 141ce7f0..d4177ff2 100644 --- a/accservermanager/settings.py +++ b/accservermanager/settings.py @@ -175,7 +175,7 @@ # THINGS TO CONFIGURE # the ACC server exe, in case of linux start it with wine -ACCEXEC = ['wine','bin/accServer.exe'] # windows: just set it to 'bin\\accServer.exe' (no list!) +ACCEXEC = ['wine','accServer.exe'] # windows: just set it to 'accServer.exe' (no list!) ACCSERVER = '/server' # windows: 'C:\\PATH\\TO\\ACC\\server' # folders where the created configs and instances are stored, will be created if doesn't exist diff --git a/instances/views.py b/instances/views.py index 9983558d..aed2c0ff 100644 --- a/instances/views.py +++ b/instances/views.py @@ -4,7 +4,8 @@ from django import forms from random_word import RandomWords -r = RandomWords() +try: r = RandomWords() +except: r = None import subprocess, time, datetime, string from multiprocessing import Value, Process