mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-01 14:20:11 +01:00
2025-11-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdimport(1) that could cause imports to get hung up when using dropbox mode without the '--delete-source' flag set. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2386,7 +2386,7 @@ QDateTime MainObject::GetCachedTimestamp(const QString &filename)
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
QDateTime dt;
|
||||
if(import_persistent_dropbox_id<0) {
|
||||
if(import_delete_source) {
|
||||
return dt;
|
||||
}
|
||||
sql=QString::asprintf("select `FILE_DATETIME` from `DROPBOX_PATHS` where ")+
|
||||
@@ -2406,7 +2406,7 @@ void MainObject::WriteTimestampCache(const QString &filename,
|
||||
{
|
||||
QString sql;
|
||||
|
||||
if(import_persistent_dropbox_id<0) {
|
||||
if(import_delete_source) {
|
||||
return;
|
||||
}
|
||||
if(GetCachedTimestamp(filename).isNull()) {
|
||||
|
||||
Reference in New Issue
Block a user