Skip to content

Commit

Permalink
fixing PR
Browse files Browse the repository at this point in the history
  • Loading branch information
gena committed Mar 29, 2021
1 parent 22e8aa5 commit 907866b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def updateLayers(self):
# check for backward-compatibility, older file formats (before 0.0.3) store ee-objects in ee-script property an no ee-object-vis is stored
# also, it seems that JSON representation of persistent object has been changed, making it difficult to read older EE JSON
if ee_object is None:
QgsMessageLog.logMessage('Map layer saved with older version of EE plugin is detected, backward-compatibility for versions before 0.0.3 is not supported due to changes in EE library, please re-create EE layer by re-running the Python script')
print('\nWARNING:\n Map layer saved with older version of EE plugin is detected, backward-compatibility for versions before 0.0.3 is not supported due to changes in EE library, please re-create EE layer by re-running the Python script\n')
return

ee_object = ee.deserializer.fromJSON(ee_object)
Expand Down

0 comments on commit 907866b

Please sign in to comment.