Merge branch 'dev' for patch fix

This commit is contained in:
Salvador E. Tropea 2022-12-16 12:48:42 -03:00
commit 739787442d
4 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.5.1] - 2022-12-16
### Fixed
- System level resources look-up
## [1.5.0] - 2022-12-16
### Added
- New output:

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
kibot (1.5.1-1) stable; urgency=medium
* Fixed system level resources look-up
-- Salvador Eduardo Tropea <salvador@inti.gob.ar> Fri, 16 Dec 2022 12:45:05 -0300
kibot (1.5.0-1) stable; urgency=medium
* New outputs: populate, panelize, stencil_3d, stencil_for_jig and

View File

@ -5,5 +5,5 @@ __license__ = 'GPL v3+'
__email__ = 'stropea@inti.gob.ar'
__url__ = 'https://github.com/INTI-CMNB/KiBot/'
__status__ = 'stable'
__version__ = '1.5.0'
__version__ = '1.5.1'
__pypi_deps__ = ['kiauto', 'pyyaml', 'xlsxwriter', 'colorama', 'requests', 'qrcodegen', 'markdown2']

View File

@ -442,7 +442,7 @@ class GS(object):
if os.path.isdir(dir_name):
return dir_name
# Try using the system level path
dir_name = os.path.join('usr', 'share', 'kibot', name)
dir_name = os.path.join('/', 'usr', 'share', 'kibot', name)
if os.path.isdir(dir_name):
return dir_name
logger.error('Missing resource directory `{}`'.format(name))