mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Remove debugging, more log copying fixes.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
/proc/copy_logs()
|
||||
if(config.copy_logs)
|
||||
ext_python("copy_logs.py", "data/logs \"[config.copy_logs]\"", log_command=1)
|
||||
ext_python("copy_logs.py", "data/logs \"[config.copy_logs]\"")
|
||||
@@ -28,7 +28,7 @@ def replace_walk(in_dir,out_dir):
|
||||
for root, dirnames, filenames in os.walk(in_dir):
|
||||
for filename in fnmatch.filter(filenames, '*.log'):
|
||||
path = os.path.join(root, filename)
|
||||
to = os.path.join(out_dir, path.replace(in_dir, out_dir).replace(os.path.basename(path), ''))
|
||||
to = path.replace(in_dir, out_dir).replace(os.path.basename(path), '')
|
||||
to = os.path.join(to, filename)
|
||||
path = os.path.abspath(path)
|
||||
to = os.path.abspath(to)
|
||||
|
||||
Reference in New Issue
Block a user