kopia lustrzana https://github.com/ctjacobs/pyqso
Set CABRILLO_VERSION instead.
rodzic
5454c8e296
commit
9e73b2abfa
|
@ -19,6 +19,8 @@
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
CABRILLO_VERSION = "3.0"
|
||||||
|
|
||||||
|
|
||||||
class Cabrillo:
|
class Cabrillo:
|
||||||
|
|
||||||
|
@ -36,7 +38,7 @@ class Cabrillo:
|
||||||
f = open(path, mode='w', errors="replace") # Open file for writing
|
f = open(path, mode='w', errors="replace") # Open file for writing
|
||||||
|
|
||||||
# Header
|
# Header
|
||||||
f.write("""START-OF-LOG: %s\n""" % (str("3.0")))
|
f.write("""START-OF-LOG: %s\n""" % (CABRILLO_VERSION))
|
||||||
f.write("""CREATED-BY: PyQSO v1.0.0\n""")
|
f.write("""CREATED-BY: PyQSO v1.0.0\n""")
|
||||||
|
|
||||||
# Write each record to the file.
|
# Write each record to the file.
|
||||||
|
|
Ładowanie…
Reference in New Issue