mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
chore: Apply whitespace fixes from hooks
- Remove trailing whitespace - Correct single newline at end of files (skip for json) - Update to formatting in a few places due to black
This commit is contained in:
@@ -163,4 +163,4 @@ PyObject *PyInit__block_qt(void) {
|
||||
return NULL;
|
||||
}
|
||||
return m;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,10 @@ class File(PhotoBase):
|
||||
image = image.convertToFormat(QImage.Format_RGB888)
|
||||
if type(orientation) != int:
|
||||
logging.warning(
|
||||
"Orientation for file '%s' was a %s '%s', not an int.", str(self.path), type(orientation), orientation
|
||||
"Orientation for file '%s' was a %s '%s', not an int.",
|
||||
str(self.path),
|
||||
type(orientation),
|
||||
orientation,
|
||||
)
|
||||
try:
|
||||
orientation = int(orientation)
|
||||
|
||||
Reference in New Issue
Block a user