flinventory 0.6.0__py3-none-any.whl → 0.6.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flinventory/generate_labels.py +1 -8
- flinventory/signprinter_latex.py +1 -0
- {flinventory-0.6.0.dist-info → flinventory-0.6.1.dist-info}/METADATA +1 -1
- {flinventory-0.6.0.dist-info → flinventory-0.6.1.dist-info}/RECORD +7 -7
- {flinventory-0.6.0.dist-info → flinventory-0.6.1.dist-info}/WHEEL +0 -0
- {flinventory-0.6.0.dist-info → flinventory-0.6.1.dist-info}/entry_points.txt +0 -0
- {flinventory-0.6.0.dist-info → flinventory-0.6.1.dist-info}/licenses/LICENSE +0 -0
flinventory/generate_labels.py
CHANGED
@@ -176,10 +176,7 @@ def generate_labels(options: argparse.Namespace):
|
|
176
176
|
Args:
|
177
177
|
options: command line options given
|
178
178
|
"""
|
179
|
-
|
180
|
-
os.mkdir(options.output_dir)
|
181
|
-
except FileExistsError:
|
182
|
-
pass # everything fine
|
179
|
+
os.makedirs(options.output_dir, exist_ok=True)
|
183
180
|
logging.basicConfig(
|
184
181
|
filename=os.path.join(options.output_dir, options.logfile),
|
185
182
|
level=logging.DEBUG,
|
@@ -231,10 +228,6 @@ def generate_single_sign_svg(options: argparse.Namespace):
|
|
231
228
|
Args:
|
232
229
|
options: command line options given
|
233
230
|
"""
|
234
|
-
try:
|
235
|
-
os.mkdir(options.output_dir)
|
236
|
-
except FileExistsError:
|
237
|
-
pass # everything fine
|
238
231
|
logging.basicConfig(
|
239
232
|
filename=os.path.join(options.output_dir, options.logfile),
|
240
233
|
level=logging.DEBUG,
|
flinventory/signprinter_latex.py
CHANGED
@@ -100,6 +100,7 @@ class SignPrinterLaTeX:
|
|
100
100
|
# pylint: disable-next=unbalanced-tuple-unpacking
|
101
101
|
self.pre, self.sign, self.post = self._read_templates()
|
102
102
|
self.output_dir = paths.output_dir
|
103
|
+
os.makedirs(self.output_dir, exist_ok=True)
|
103
104
|
self.signs_file = paths.output_signs_latex
|
104
105
|
self.logger = logging.getLogger(__name__)
|
105
106
|
|
@@ -1,18 +1,18 @@
|
|
1
|
-
flinventory-0.6.
|
2
|
-
flinventory-0.6.
|
3
|
-
flinventory-0.6.
|
4
|
-
flinventory-0.6.
|
1
|
+
flinventory-0.6.1.dist-info/METADATA,sha256=o8gLB774_aSvpZRmX5VwJ4XcVRCmm-hzQbGKaEQDPmk,4907
|
2
|
+
flinventory-0.6.1.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
3
|
+
flinventory-0.6.1.dist-info/entry_points.txt,sha256=De3jjbHfy68_ZrwdjywlgrSUCn4QhqZGI0CJJt9S8_c,78
|
4
|
+
flinventory-0.6.1.dist-info/licenses/LICENSE,sha256=9c-AWlAEeFMmn1aODEfabsw2he-SpQeykurYw-KqSdw,34478
|
5
5
|
flinventory/__init__.py,sha256=0HTGxw9J-2KnbxQbzX6HH-Pztkp0BEjiHANhndfbtYM,270
|
6
6
|
flinventory/__main__.py,sha256=5U_RxWDlnhzlC98RaE8SkejjiYjv27OLdm5DPYgL4Gw,1295
|
7
7
|
flinventory/box.py,sha256=rk7yrAjVdxcrpvmTMt3jkMVOAoQNJfqoSig9U2S3yJ0,10480
|
8
8
|
flinventory/constant.py,sha256=pPNCwScLon_MOKL9_jjD_sxqB7Q2WW6rZqtrBl7SyWk,10283
|
9
9
|
flinventory/datacleanup.py,sha256=_CImmWJhq5uKz21jJQUqKYoQfbHEYA0000RyPRt5BI0,11363
|
10
10
|
flinventory/defaulted_data.py,sha256=KAy6V2KLcifLg7zHBFnx_eFLp31sCWih1Btp6cE0bQc,21585
|
11
|
-
flinventory/generate_labels.py,sha256=
|
11
|
+
flinventory/generate_labels.py,sha256=wjlyta9gowWOLvVfOVUQ8Ktpv3eg85JbAfDzI4Ok2V4,8476
|
12
12
|
flinventory/inventory_io.py,sha256=OWThcf9nzeZNqvNpzQiBhESQAnVXC7hUA8DEVzq-w-Y,12561
|
13
13
|
flinventory/location.py,sha256=UgJlbno16ipuFa4yUZK3SLrid70ACwE5He9Dd4P2SMU,16875
|
14
14
|
flinventory/sign.py,sha256=8G7fsne3Nsf8zZKKTUl40uWMNsWIv7FYV2KcqBR2MQI,5515
|
15
|
-
flinventory/signprinter_latex.py,sha256=
|
15
|
+
flinventory/signprinter_latex.py,sha256=mPu7C1AxOW3-qdA0XFkAhk9w5Z32nnRcZPD38kaqYDU,22940
|
16
16
|
flinventory/thing.py,sha256=86fXj3RwTbkCdVVWrbyO-VEW_e5lKJlV8PPt1Xf8ejY,5079
|
17
17
|
flinventory/thingtemplate_latex/.gitignore,sha256=DTF250Ttj8O2lxrQBwMNrQ73rWPvdwCytipfZSLFtlU,51
|
18
18
|
flinventory/thingtemplate_latex/dummyImage.jpg,sha256=bIBH5Lrxlr5qJ42nP1cpJXPRNGLOwyEuzwXFSvNwTSk,147857
|
@@ -20,4 +20,4 @@ flinventory/thingtemplate_latex/sign.tex,sha256=cVlOjImuS97Gf19MGW27HiP6Uw8JNnob
|
|
20
20
|
flinventory/thingtemplate_latex/signlist-footer.tex,sha256=LcZw5__h8SqgMmYxs5oLbXLaFTQlx_X5rtYnpxwUh9Y,14
|
21
21
|
flinventory/thingtemplate_latex/signlist-header.tex,sha256=F1J4aSPq6QO_Ved4Zn7-rytP1vDkdWTqjjtGJpe_FDg,297
|
22
22
|
flinventory/thingtemplate_latex/signs-example.tex,sha256=J6eCcPhP0Xklgn8xnSenDOvjzmc_NGmakWU4RGbeUtM,3090
|
23
|
-
flinventory-0.6.
|
23
|
+
flinventory-0.6.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|