Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammedKpln committed Mar 12, 2021
1 parent b84d751 commit 6be2de8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions snapcraft.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/cache_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def update_cache(self, data: UpdateCache) -> bool:

def __check_has_cached_sources(self) -> bool:
with open(self.__flathub_cache_path, 'r') as f:
data = f.read()
data = loads(f.read())

if len(data) > 0:
f.close()
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def search_for_application(self) -> None:
user_input = int(input('Select an application code: '))
app = self.founded_apps[user_input]

if self.experiemental_features and app["type"] == Types.APPIMAGE:
if app["type"] == Types.APPIMAGE:
if (self.ask_for_installation()):
info_message('Downloading AppImage automatically...')
if app['repo_url']:
Expand Down

0 comments on commit 6be2de8

Please sign in to comment.