Skip to content

Commit

Permalink
Fix style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeoLacruz committed Jan 5, 2025
1 parent b47d2da commit c3cface
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inventree_zebra/zebra_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,10 @@ def get_all_printer_data(self, printer, port=None):
print('ping False')
return (printer_data)
try:
total_print_length = total_print_length.replace('"','')
total_print_length = total_print_length.split(',')[1]
total_print_length = total_print_length.replace('"', '')
total_print_length = total_print_length.split(',')[1]
except Exception:
total_print_length = ''
total_print_length = ''
result_hs = result_hs.replace('\n', ',')
printer_data = {
'interface': printer,
Expand Down

0 comments on commit c3cface

Please sign in to comment.