mirror of
https://github.com/meganz/MEGAcmd
synced 2025-08-22 01:47:24 +00:00
Fix syncs on windows always showing an incorrect "processing" state
This commit is contained in:
parent
e0783128dc
commit
d0e33db8fb
@ -107,7 +107,10 @@ void printSingleSync(mega::MegaApi& api, mega::MegaSync& sync, mega::MegaNode* n
|
||||
cd.addValue("REMOTEPATH", sync.getLastKnownMegaFolder());
|
||||
cd.addValue("RUN_STATE", syncRunStateStr(sync.getRunState()));
|
||||
|
||||
std::string localFolder = sync.getLocalFolder();
|
||||
std::string folder = sync.getLocalFolder();
|
||||
|
||||
string localFolder;
|
||||
mega::LocalPath::path2local(&folder, &localFolder);
|
||||
|
||||
int statepath = api.syncPathState(&localFolder);
|
||||
cd.addValue("STATUS", getSyncPathStateStr(statepath));
|
||||
|
Loading…
x
Reference in New Issue
Block a user