Skip to content

Commit

Permalink
Added new mime type text/x.gcode to valid mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Zoubek authored and ondratu committed Mar 3, 2023
1 parent 55f4f81 commit 7214748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prusa/connect/printer/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def to_dict(self):
class DownloadMgr:
"""Download manager."""
LOOP_INTERVAL = .1
VALID_MIME_TYPES = ('application/gcode', 'text/plain',
VALID_MIME_TYPES = ('application/gcode', 'text/plain', 'text/x.gcode',
'application/binary', 'application/octet-stream')
SMALL_BUFFER = 1024
BIG_BUFFER = 1024 * 100
Expand Down

0 comments on commit 7214748

Please sign in to comment.