Fixes in dbadmin
This commit is contained in:
parent
46b18e0dde
commit
842b2526ba
1 changed files with 2 additions and 0 deletions
|
|
@ -347,6 +347,8 @@ def create_backup(original_file_path, file_path):
|
||||||
|
|
||||||
if not p.is_dir():
|
if not p.is_dir():
|
||||||
p.mkdir(0o755, True)
|
p.mkdir(0o755, True)
|
||||||
|
with open(path+'/__init__.py', 'w') as f:
|
||||||
|
f.write("#!/usr/bin/python3\n")
|
||||||
|
|
||||||
#Create path
|
#Create path
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue