mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix traceback when importing regular server
This commit is contained in:
parent
c8c1f301c0
commit
19f8775b32
@ -304,7 +304,7 @@ class ServerHandler(BaseHandler):
|
||||
return
|
||||
|
||||
if import_type == 'import_jar':
|
||||
good_path = self.controller.verify_jar_server(import_server_path, import_server_jar)
|
||||
good_path = self.controller.verify_jar_server(import_server_path, import_server_exe)
|
||||
|
||||
if not good_path:
|
||||
self.redirect("/panel/error?error=Server path or Server Jar not found!")
|
||||
|
Loading…
Reference in New Issue
Block a user