mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 13:14:15 +02:00
[snap] refactoring: String formatting method
This commit is contained in:
@@ -70,7 +70,7 @@ class SnapApplication(SoftwarePackage):
|
||||
return self.type == 'app'
|
||||
|
||||
def get_disk_cache_path(self):
|
||||
return super(SnapApplication, self).get_disk_cache_path() + '/installed/' + self.name
|
||||
return f'{super(SnapApplication, self).get_disk_cache_path()}/installed/{self.name}'
|
||||
|
||||
def is_trustable(self) -> bool:
|
||||
return self.verified_publisher
|
||||
|
||||
Reference in New Issue
Block a user