diff --git a/not1mm/plugins/10_10_fall_cw.py b/not1mm/plugins/10_10_fall_cw.py index 58ab226..218b993 100644 --- a/not1mm/plugins/10_10_fall_cw.py +++ b/not1mm/plugins/10_10_fall_cw.py @@ -194,7 +194,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/10_10_spring_cw.py b/not1mm/plugins/10_10_spring_cw.py index 79b8b84..5be6d7d 100644 --- a/not1mm/plugins/10_10_spring_cw.py +++ b/not1mm/plugins/10_10_spring_cw.py @@ -193,7 +193,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/10_10_summer_phone.py b/not1mm/plugins/10_10_summer_phone.py index c2952fc..c6256eb 100644 --- a/not1mm/plugins/10_10_summer_phone.py +++ b/not1mm/plugins/10_10_summer_phone.py @@ -195,7 +195,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/10_10_winter_phone.py b/not1mm/plugins/10_10_winter_phone.py index 6eca400..0a0d3ee 100644 --- a/not1mm/plugins/10_10_winter_phone.py +++ b/not1mm/plugins/10_10_winter_phone.py @@ -195,7 +195,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_10m.py b/not1mm/plugins/arrl_10m.py index 468a282..c62818c 100644 --- a/not1mm/plugins/arrl_10m.py +++ b/not1mm/plugins/arrl_10m.py @@ -277,7 +277,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_dx_cw.py b/not1mm/plugins/arrl_dx_cw.py index 0b4684e..0f7de38 100644 --- a/not1mm/plugins/arrl_dx_cw.py +++ b/not1mm/plugins/arrl_dx_cw.py @@ -219,7 +219,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_dx_ssb.py b/not1mm/plugins/arrl_dx_ssb.py index 5151fd3..3f906e5 100644 --- a/not1mm/plugins/arrl_dx_ssb.py +++ b/not1mm/plugins/arrl_dx_ssb.py @@ -219,7 +219,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_field_day.py b/not1mm/plugins/arrl_field_day.py index e88a446..43c006d 100644 --- a/not1mm/plugins/arrl_field_day.py +++ b/not1mm/plugins/arrl_field_day.py @@ -173,7 +173,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_ss_cw.py b/not1mm/plugins/arrl_ss_cw.py index 426a9e6..43295af 100644 --- a/not1mm/plugins/arrl_ss_cw.py +++ b/not1mm/plugins/arrl_ss_cw.py @@ -216,7 +216,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_ss_phone.py b/not1mm/plugins/arrl_ss_phone.py index c73274b..c488bd8 100644 --- a/not1mm/plugins/arrl_ss_phone.py +++ b/not1mm/plugins/arrl_ss_phone.py @@ -206,7 +206,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_vhf_jan.py b/not1mm/plugins/arrl_vhf_jan.py index c8398b3..41c65a8 100644 --- a/not1mm/plugins/arrl_vhf_jan.py +++ b/not1mm/plugins/arrl_vhf_jan.py @@ -256,7 +256,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_vhf_jun.py b/not1mm/plugins/arrl_vhf_jun.py index fbf5fa7..eb8f97e 100644 --- a/not1mm/plugins/arrl_vhf_jun.py +++ b/not1mm/plugins/arrl_vhf_jun.py @@ -224,7 +224,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/arrl_vhf_sep.py b/not1mm/plugins/arrl_vhf_sep.py index a5902c5..eee29e1 100644 --- a/not1mm/plugins/arrl_vhf_sep.py +++ b/not1mm/plugins/arrl_vhf_sep.py @@ -224,7 +224,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/canada_day.py b/not1mm/plugins/canada_day.py index 0708128..cd34a5b 100644 --- a/not1mm/plugins/canada_day.py +++ b/not1mm/plugins/canada_day.py @@ -247,7 +247,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/cq_160_cw.py b/not1mm/plugins/cq_160_cw.py index f2efff6..01a6c1c 100644 --- a/not1mm/plugins/cq_160_cw.py +++ b/not1mm/plugins/cq_160_cw.py @@ -234,7 +234,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/cq_160_ssb.py b/not1mm/plugins/cq_160_ssb.py index 3c4e672..477741f 100644 --- a/not1mm/plugins/cq_160_ssb.py +++ b/not1mm/plugins/cq_160_ssb.py @@ -234,7 +234,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/cq_wpx_cw.py b/not1mm/plugins/cq_wpx_cw.py index c92a128..14cd7ab 100644 --- a/not1mm/plugins/cq_wpx_cw.py +++ b/not1mm/plugins/cq_wpx_cw.py @@ -266,7 +266,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/cq_wpx_rtty.py b/not1mm/plugins/cq_wpx_rtty.py index c5a13ec..083f8a2 100644 --- a/not1mm/plugins/cq_wpx_rtty.py +++ b/not1mm/plugins/cq_wpx_rtty.py @@ -265,7 +265,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/cq_wpx_ssb.py b/not1mm/plugins/cq_wpx_ssb.py index bd6b528..4bcd4d8 100644 --- a/not1mm/plugins/cq_wpx_ssb.py +++ b/not1mm/plugins/cq_wpx_ssb.py @@ -231,7 +231,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/cq_ww_rtty.py b/not1mm/plugins/cq_ww_rtty.py index 7c59c63..d92304e 100644 --- a/not1mm/plugins/cq_ww_rtty.py +++ b/not1mm/plugins/cq_ww_rtty.py @@ -254,7 +254,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/cq_ww_ssb.py b/not1mm/plugins/cq_ww_ssb.py index 6bf7af6..f20f0cb 100644 --- a/not1mm/plugins/cq_ww_ssb.py +++ b/not1mm/plugins/cq_ww_ssb.py @@ -230,7 +230,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/cwt.py b/not1mm/plugins/cwt.py index a33ad1e..83cfca3 100644 --- a/not1mm/plugins/cwt.py +++ b/not1mm/plugins/cwt.py @@ -224,7 +224,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/helvetia.py b/not1mm/plugins/helvetia.py index 63137c5..6d8b00a 100644 --- a/not1mm/plugins/helvetia.py +++ b/not1mm/plugins/helvetia.py @@ -349,7 +349,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/iaru_fieldday_r1_cw.py b/not1mm/plugins/iaru_fieldday_r1_cw.py index 58d0f31..ae74977 100644 --- a/not1mm/plugins/iaru_fieldday_r1_cw.py +++ b/not1mm/plugins/iaru_fieldday_r1_cw.py @@ -256,7 +256,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/iaru_fieldday_r1_ssb.py b/not1mm/plugins/iaru_fieldday_r1_ssb.py index d91647f..31a356a 100644 --- a/not1mm/plugins/iaru_fieldday_r1_ssb.py +++ b/not1mm/plugins/iaru_fieldday_r1_ssb.py @@ -256,7 +256,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/iaru_hf.py b/not1mm/plugins/iaru_hf.py index ad1c3e7..33546aa 100644 --- a/not1mm/plugins/iaru_hf.py +++ b/not1mm/plugins/iaru_hf.py @@ -213,7 +213,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/icwc_mst.py b/not1mm/plugins/icwc_mst.py index e2023fa..440321f 100644 --- a/not1mm/plugins/icwc_mst.py +++ b/not1mm/plugins/icwc_mst.py @@ -209,7 +209,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/jidx_cw.py b/not1mm/plugins/jidx_cw.py index 81b3ef5..5e58473 100644 --- a/not1mm/plugins/jidx_cw.py +++ b/not1mm/plugins/jidx_cw.py @@ -272,7 +272,7 @@ def cabrillo(self, file_encoding): mults = show_mults(self) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 2.0", "\r\n", file_descriptor, file_encoding ) diff --git a/not1mm/plugins/jidx_ph.py b/not1mm/plugins/jidx_ph.py index cd5fec8..ea380bd 100644 --- a/not1mm/plugins/jidx_ph.py +++ b/not1mm/plugins/jidx_ph.py @@ -243,7 +243,7 @@ def cabrillo(self, file_encoding): mults = show_mults(self) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 2.0", "\r\n", file_descriptor, file_encoding ) diff --git a/not1mm/plugins/k1usn_sst.py b/not1mm/plugins/k1usn_sst.py index 0af7137..48efad7 100644 --- a/not1mm/plugins/k1usn_sst.py +++ b/not1mm/plugins/k1usn_sst.py @@ -193,7 +193,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/naqp_cw.py b/not1mm/plugins/naqp_cw.py index 5faf917..78da947 100644 --- a/not1mm/plugins/naqp_cw.py +++ b/not1mm/plugins/naqp_cw.py @@ -219,7 +219,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/naqp_rtty.py b/not1mm/plugins/naqp_rtty.py index 60f9a92..3900643 100644 --- a/not1mm/plugins/naqp_rtty.py +++ b/not1mm/plugins/naqp_rtty.py @@ -222,7 +222,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/naqp_ssb.py b/not1mm/plugins/naqp_ssb.py index a197db0..91bde64 100644 --- a/not1mm/plugins/naqp_ssb.py +++ b/not1mm/plugins/naqp_ssb.py @@ -189,7 +189,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/phone_weekly_test.py b/not1mm/plugins/phone_weekly_test.py index 1bcac80..d64b18e 100644 --- a/not1mm/plugins/phone_weekly_test.py +++ b/not1mm/plugins/phone_weekly_test.py @@ -209,7 +209,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/ref_cw.py b/not1mm/plugins/ref_cw.py index cba53c0..f802139 100644 --- a/not1mm/plugins/ref_cw.py +++ b/not1mm/plugins/ref_cw.py @@ -354,7 +354,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/ref_ssb.py b/not1mm/plugins/ref_ssb.py index 0ea190e..acffd4e 100644 --- a/not1mm/plugins/ref_ssb.py +++ b/not1mm/plugins/ref_ssb.py @@ -354,7 +354,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/stew_perry_topband.py b/not1mm/plugins/stew_perry_topband.py index 4c1f57a..ea0396a 100644 --- a/not1mm/plugins/stew_perry_topband.py +++ b/not1mm/plugins/stew_perry_topband.py @@ -188,7 +188,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/weekly_rtty.py b/not1mm/plugins/weekly_rtty.py index d1545da..cfdae1f 100644 --- a/not1mm/plugins/weekly_rtty.py +++ b/not1mm/plugins/weekly_rtty.py @@ -194,7 +194,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n", diff --git a/not1mm/plugins/winter_field_day.py b/not1mm/plugins/winter_field_day.py index 26bed72..cc8f04d 100644 --- a/not1mm/plugins/winter_field_day.py +++ b/not1mm/plugins/winter_field_day.py @@ -172,7 +172,7 @@ def cabrillo(self, file_encoding): logger.debug("%s", filename) log = self.database.fetch_all_contacts_asc() try: - with open(filename, "w", encoding="utf-8") as file_descriptor: + with open(filename, "w", encoding=file_encoding) as file_descriptor: output_cabrillo_line( "START-OF-LOG: 3.0", "\r\n",