Skip to content

Commit

Permalink
use better API
Browse files Browse the repository at this point in the history
  • Loading branch information
schriftgestalt committed Jan 9, 2018
1 parent 99fad80 commit 07044eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Autopsy.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ def main():


# Calculate ratio
if not NSUserDefaults.standardUserDefaults()["com_yanone_Autopsy_PageOrientation_landscape"]:
if not Glyphs.boolDefaults["com_yanone_Autopsy_PageOrientation_landscape"]:
ratio = (scrapboard['top'] - scrapboard['bottom']) / maxheight * mm
ratio2 = (scrapboard['right'] - scrapboard['left']) / maxsinglewidth * mm
maxratio = 0.3
Expand Down

0 comments on commit 07044eb

Please sign in to comment.