svghmi/__init__.py
author Edouard Tisserant
Mon, 31 Aug 2020 13:54:08 +0200
branchsvghmi
changeset 3049 4ac68ec9786f
parent 2745 535eb0b8bd9d
child 3750 f62625418bff
permissions -rw-r--r--
Attempt to workaround problem reported about empty plc.xml after unrelated crash. Now, if etree model is corrupted in a way tostring() would generate an empty string, exception prevents saving.
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# This file is part of Beremiz
# Copyright (C) 2019: Edouard TISSERANT
#
# See COPYING file for copyrights details.

from __future__ import absolute_import
from svghmi.svghmi import *