Skip to content

Commit

Permalink
remove encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
KatKatKateryna committed Oct 30, 2023
1 parent b0c872c commit 41c4e17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion patch_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def patch_installer(tag):
print(f"Patched metadata v{tag} ")
file.close()

with open(plugin_start_file, "r", encoding="utf8") as file:
with open(plugin_start_file, "r") as file:
lines = file.readlines()
for i, line in enumerate(lines):
if "self.version = " in line:
Expand Down
2 changes: 0 additions & 2 deletions plugin_utils/plugin_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ def main(parameters, arguments):
print("HTTP/HTTPS headers: %s" % err.headers)
print("Error code: %d" % err.errcode)
print("Error message: %s" % err.errmsg)
print(parameters.username[-3:])
print(parameters.password[-3:])
sys.exit(1)
except xmlrpc.client.Fault as err:
print("A fault occurred")
Expand Down

0 comments on commit 41c4e17

Please sign in to comment.