From fe59618eaf32f47c1492c579596d29115064a618 Mon Sep 17 00:00:00 2001
From: shortcutme <hello@noloop.me>
Date: Wed, 14 Sep 2016 18:41:28 +0200
Subject: [PATCH] Rev1523, Real fix file write confirmation

---
 src/Config.py         | 2 +-
 src/Ui/UiWebsocket.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Config.py b/src/Config.py
index 92bdabd5..aa654cba 100644
--- a/src/Config.py
+++ b/src/Config.py
@@ -8,7 +8,7 @@ class Config(object):
 
     def __init__(self, argv):
         self.version = "0.4.1"
-        self.rev = 1522
+        self.rev = 1523
         self.argv = argv
         self.action = None
         self.config_file = "zeronet.conf"
diff --git a/src/Ui/UiWebsocket.py b/src/Ui/UiWebsocket.py
index 2bcca6ed..857b9e57 100644
--- a/src/Ui/UiWebsocket.py
+++ b/src/Ui/UiWebsocket.py
@@ -400,7 +400,7 @@ class UiWebsocket(object):
                 self.cmd(
                     "confirm",
                     ["This file still in sync, if you write it now, then the previous content may be lost.", "Write content anyway"],
-                    lambda (res): self.actionFileWrite(self, to, inner_path, content_base64, ignore_bad_files=True)
+                    lambda (res): self.actionFileWrite(to, inner_path, content_base64, ignore_bad_files=True)
                 )
                 return False