Minor fixes for content cacher

This commit is contained in:
Ivan Kravets committed 2017-02-01 02:49:25 +02:00
1 parent ba58b4ba8a
commit 3d6dab39ca
2 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ def on_platformio_start(ctx, force, caller):
app.set_session_var("caller_id", caller)
telemetry.on_command()
if ctx.args and (ctx.args[0] == "upgrade" or "update" in ctx.args):
if ctx.args and ctx.args[0] == "upgrade":
clean_cache()
if not in_silence(ctx):
after_upgrade(ctx)