py3 print
This commit is contained in:
parent
4874c8e119
commit
894f15ec85
8
main.py
8
main.py
@ -47,7 +47,7 @@ class SeafileUploader():
|
||||
for lib in self.libs:
|
||||
if self.seaf_lib is not None and lib.id == self.seaf_lib.id:
|
||||
select = i
|
||||
print "set %s" % lib.name
|
||||
print("set %s" % lib.name)
|
||||
drop.addItem(lib.name)
|
||||
i=i+1
|
||||
drop.setCurrentIndex(select)
|
||||
@ -112,7 +112,7 @@ class SeafileUploader():
|
||||
settings.setValue("name-format", self.nameFormat)
|
||||
settings.setValue("upload-scheme", self.upload_scheme)
|
||||
#settings.setValue("name-format", self.settingsDialog.group_name.input_name.text)
|
||||
print self.seaf_lib, self.lib_path
|
||||
print(self.seaf_lib, self.lib_path)
|
||||
settings.endGroup()
|
||||
settings.endGroup()
|
||||
|
||||
@ -180,12 +180,12 @@ class SeafileUploader():
|
||||
selected_lib = drop.currentText
|
||||
if not drop.isEnabled(): return #not populated
|
||||
self.lib_path = self.settingsDialog.group_location.widget_location.pathEdit.text
|
||||
print self.lib_path, selected_lib
|
||||
print(self.lib_path, selected_lib)
|
||||
if self.libs is None: return
|
||||
for lib in self.libs:
|
||||
if lib.name == selected_lib:
|
||||
self.seaf_lib = lib
|
||||
print "%s user selected" % selected_lib
|
||||
print("%s user selected" % selected_lib)
|
||||
|
||||
|
||||
def login(self,user,password):
|
||||
|
Loading…
x
Reference in New Issue
Block a user