Skip to content

Commit

Permalink
Merge pull request #106 from AstroPrint/fix-br-errors
Browse files Browse the repository at this point in the history
fix changues in br
  • Loading branch information
CoDanny committed May 4, 2021
2 parents bdb9b40 + 0227b19 commit 3f4b727
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion octoprint_astroprint/boxrouter/handlers/requesthandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def initial_state(self, data, clientId, done):
}
state['progress'] = self._printerListener.get_progress()

self.astroprintCloud.sendCurrentData()

done(state)

Expand Down Expand Up @@ -132,7 +133,7 @@ def notifyfleet(self, data, clientId, done):
def print_file(self, data, clientId, done):
print_file_id = data['printFileId']

if 'printJobId' in data :
if 'printJobId' in data and data['printJobId']:
print_job_data = {'print_job_id' : data['printJobId'], 'print_file' : print_file_id}
else :
print_job_data = None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plugin_name = "AstroPrint"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.6.3"
plugin_version = "1.6.4"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down

0 comments on commit 3f4b727

Please sign in to comment.