bugfix
This commit is contained in:
parent
2532efa9f2
commit
8e9719ac57
@ -21,6 +21,7 @@ class UploadFile(ClickableIconText):
|
|||||||
"height":CSize(1)
|
"height":CSize(1)
|
||||||
}
|
}
|
||||||
self.source = blockImage('upload.png')
|
self.source = blockImage('upload.png')
|
||||||
|
self.text = self.name
|
||||||
self.file_url = None
|
self.file_url = None
|
||||||
self.running = None
|
self.running = None
|
||||||
|
|
||||||
@ -44,6 +45,7 @@ class UploadFile(ClickableIconText):
|
|||||||
yield d
|
yield d
|
||||||
fpath = files[0]
|
fpath = files[0]
|
||||||
fn = os.path.basename(fpath)
|
fn = os.path.basename(fpath)
|
||||||
|
self.text = fn
|
||||||
print('fn=', fn)
|
print('fn=', fn)
|
||||||
headers={
|
headers={
|
||||||
'Content-Type': 'application/octet-stream',
|
'Content-Type': 'application/octet-stream',
|
||||||
|
2
setup.py
2
setup.py
@ -11,7 +11,7 @@ with open('kivyblocks/version.py', 'r') as f:
|
|||||||
y = x[x.index("'")+1:]
|
y = x[x.index("'")+1:]
|
||||||
z = y[:y.index("'")]
|
z = y[:y.index("'")]
|
||||||
version = z
|
version = z
|
||||||
with open("README.md", "r") as fh:
|
with open("README.md", "r", encoding="utf-8") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user