清除以前创建的配置文件
This commit is contained in:
parent
43089ab135
commit
d5d1af4056
@ -7,7 +7,7 @@ from ops.mmysql import MysqlBase
|
||||
import time
|
||||
from config.config import args
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
import os
|
||||
|
||||
class Build_Gamelog_Config():
|
||||
def __init__(self):
|
||||
@ -36,6 +36,8 @@ class Build_Gamelog_Config():
|
||||
return out
|
||||
|
||||
def build_config(self, data):
|
||||
if os.path.isfile(self.filename):
|
||||
os.remove(self.filename)
|
||||
start = "<?php"
|
||||
end = ");"
|
||||
content = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user