Skip to content

Commit

Permalink
fixed debian/control missing attr dependency, cleaned up codes
Browse files Browse the repository at this point in the history
  • Loading branch information
hezral committed Oct 7, 2020
1 parent d98c788 commit 5b27207
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Depends: ${python3:Depends},
${misc:Depends},
python3,
python3-gi,
libimage-exiftool-perl
libimage-exiftool-perl,
attr
Description: Inspektor
View additional metadata for files
3 changes: 3 additions & 0 deletions inspektor/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def do_activate(self):
self.window.show_all()
else:
self.quit()




Expand All @@ -103,6 +104,8 @@ def filechooser(self):
filechooserdialog.set_transient_for(self.window)
filechooserdialog.set_destroy_with_parent(False)
filechooserdialog.set_position(Gtk.WindowPosition.MOUSE)
filechooserdialog.set_size_request(320, 480)
filechooserdialog.set_default_size(320, 480)

response = filechooserdialog.run()
file = None
Expand Down
4 changes: 2 additions & 2 deletions inspektor/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ def __init__(self):

try:
self.setfattr = which("setfattr")
#("Found exiftool installed at", self.setfattr)
#print("Found setfattr installed at", self.setfattr)
except Error as error:
print("Shutil: ", error)

try:
self.getfattr = which("getfattr")
#print("Found exiftool installed at", self.getfattr)
#print("Found getfattr installed at", self.getfattr)
except Error as error:
print("Shutil: ", error)

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@
url='https://github.com/hezral/inspektor',
license='GNU GPL3',
scripts=['com.github.hezral.inspektor'],
packages=['inspektor'],
data_files=install_data)

0 comments on commit 5b27207

Please sign in to comment.