mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 07:07:58 +00:00
builder-lools: moved update_configspec
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import os
|
||||
import sys
|
||||
import shutil
|
||||
import config
|
||||
from server.copter_table_models import CopterDataModel
|
||||
|
||||
from config import ConfigManager, ConfigObj
|
||||
current_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
sys.path.insert(0, os.path.realpath(os.path.join(current_dir, os.pardir, os.pardir)))
|
||||
|
||||
from lib.config import ConfigManager, ConfigObj
|
||||
from server.modules.copter_table_models import CopterDataModel
|
||||
|
||||
|
||||
config_path = 'temp_config/config'
|
||||
spec_path = os.path.join(config_path, 'spec')
|
||||
Reference in New Issue
Block a user