diff options
Diffstat (limited to 'modules/package_module.py')
-rw-r--r-- | modules/package_module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/package_module.py b/modules/package_module.py index e967973..a7b5126 100644 --- a/modules/package_module.py +++ b/modules/package_module.py @@ -88,7 +88,7 @@ class Package(object): @property def minor(self): - return self.major_minor.split('.')[1] + return self.major_minor.split('.')[1] if self.major_minor.find('.') != -1 else 'NONE' # TODO: workaround for gudev, refactor def print_info(self): print("Name: " + str(self.name)) |