mirror of
https://github.com/stronk-dev/Guitar-Sheet-Parser.git
synced 2025-07-05 00:25:08 +02:00
fix typo
This commit is contained in:
parent
50e1fe05c0
commit
f7ec726eae
@ -51,9 +51,9 @@ def initConfig():
|
||||
'rightMargin': 50,
|
||||
'tryToShrinkRatio' : 0.25,
|
||||
'lowestwhitespaceonwidthratioallowed': 0.90,
|
||||
'hightestwhitespaceonwidthratioallowed': 0.40,
|
||||
'highestwhitespaceonwidthratioallowed': 0.40,
|
||||
'keepEmptyLines': 1,
|
||||
'writeMetaData': 0
|
||||
'writeheaderfile': 0
|
||||
}
|
||||
# (if CMD arguments: load CMD arguments to override specific settings)
|
||||
with open('config.ini', 'w') as configfile:
|
||||
|
@ -232,11 +232,11 @@ class Song:
|
||||
self.lowestWhitespaceOnWidthRatioAllowed = float(configObj['lowestWhitespaceOnWidthRatioAllowed'])
|
||||
# Some sections are very small, so the highest whitespace can be very large.
|
||||
# It is advised to keep this value relatively small
|
||||
self.hightestWhitespaceOnWidthRatioAllowed = float(configObj['hightestWhitespaceOnWidthRatioAllowed'])
|
||||
self.hightestWhitespaceOnWidthRatioAllowed = float(configObj['highestwhitespaceonwidthratioallowed'])
|
||||
# Strip empty lines from input or keep em
|
||||
self.keepEmptyLines = configObj['keepEmptyLines'] == '1'
|
||||
# Strip empty lines from input or keep em
|
||||
self.writeMetadata = configObj['writemetadata'] == '1'
|
||||
self.writeMetadata = configObj['writeheaderfile'] == '1'
|
||||
|
||||
|
||||
"""!@brief Calculates dimensions of metadata
|
||||
|
Loading…
x
Reference in New Issue
Block a user