mirror of https://github.com/OCA/web.git
commit
9ed65e4f12
|
@ -292,7 +292,7 @@ class ExportHelpWizard(models.TransientModel):
|
||||||
backup_file = open(filename,
|
backup_file = open(filename,
|
||||||
'w')
|
'w')
|
||||||
backup_file.write(xml_data)
|
backup_file.write(xml_data)
|
||||||
backup_file.close
|
backup_file.close()
|
||||||
except:
|
except:
|
||||||
_logger.warning(_('Unable to write autobackup file '
|
_logger.warning(_('Unable to write autobackup file '
|
||||||
'in given directory: %s'
|
'in given directory: %s'
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
import controllers
|
from . import controllers
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
import controllers
|
from . import controllers
|
||||||
|
|
Loading…
Reference in New Issue