Skip to content
Snippets Groups Projects
Commit 3db85a6b authored by Benedikt's avatar Benedikt
Browse files

added backup include pathes for docker ... may be python modularisation will fix this

parent f38e2f40
No related branches found
No related tags found
No related merge requests found
......@@ -23,11 +23,18 @@ dccRestServer=config['dccRestServer']
import logging
import socket # for hostname
with open('./exampleData/JSONExample.json', 'r') as file:
jsonExamplStr=file.read()
with open('./exampleData/XMLExample.xml', 'r') as file:
xmlExamplStr=file.read()
try:
with open('./exampleData/JSONExample.json', 'r') as file:
jsonExamplStr=file.read()
except FileNotFoundError:
with open('dcc_XMLJSONConvGUI/exampleData/JSONExample.json', 'r') as file:
jsonExamplStr=file.read()
try:
with open('./exampleData/XMLExample.xml', 'r') as file:
xmlExamplStr=file.read()
except FileNotFoundError:
with open('dcc_XMLJSONConvGUI/exampleData/XMLExample.xml', 'r') as file:
xmlExamplStr=file.read()
__version_info__ = ('0', '0', '1')
__version__ = '.'.join(__version_info__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment