mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
p3
This commit is contained in:
@@ -23,7 +23,7 @@ class StagingSetup(multi.Thread):
|
||||
self.startCloning()
|
||||
elif self.function == 'startSyncing':
|
||||
self.startSyncing()
|
||||
except BaseException, msg:
|
||||
except BaseException as msg:
|
||||
logging.writeToFile(str(msg) + ' [StagingSetup.run]')
|
||||
|
||||
def startCloning(self):
|
||||
@@ -160,7 +160,7 @@ class StagingSetup(multi.Thread):
|
||||
logging.statusWriter(tempStatusPath, 'Data copied..,[200]')
|
||||
|
||||
return 0
|
||||
except BaseException, msg:
|
||||
except BaseException as msg:
|
||||
mesg = '%s. [404]' % (str(msg))
|
||||
logging.statusWriter(self.tempStatusPath, mesg)
|
||||
|
||||
@@ -239,6 +239,6 @@ class StagingSetup(multi.Thread):
|
||||
logging.statusWriter(tempStatusPath, 'Data copied..,[200]')
|
||||
|
||||
return 0
|
||||
except BaseException, msg:
|
||||
except BaseException as msg:
|
||||
mesg = '%s. [404]' % (str(msg))
|
||||
logging.statusWriter(tempStatusPath, mesg)
|
||||
|
||||
Reference in New Issue
Block a user